PyUnicode_DecodeCharmap

  1. PyObject* PyUnicode_DecodeCharmap(const(char)* string, Py_ssize_t length, PyObject* mapping, const(char)* errors)
    version(Python_3_3_Or_Later)
    PyUnicode_DecodeCharmap
    (
    const(char)* string
    ,,,
    const(char)* errors
    )
  2. alias PyUnicode_DecodeCharmap = PyUnicodeUCS2_DecodeCharmap
  3. alias PyUnicode_DecodeCharmap = PyUnicodeUCS4_DecodeCharmap

Parameters

string
Type: const(char)*

Encoded string

length

size of string

mapping
Type: PyObject*

character mapping (char ordinal -> unicode ordinal)

errors
Type: const(char)*

error handling

Meta