PyUnicode_DecodeCharmap

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

Parameters

string const(char)*

Encoded string

length Py_ssize_t

size of string

mapping PyObject*

character mapping (char ordinal -> unicode ordinal)

errors const(char)*

error handling

Meta