PyUnicodeUCS4_EncodeCharmap

  1. PyObject* PyUnicodeUCS4_EncodeCharmap(Py_UNICODE* data, Py_ssize_t length, PyObject* mapping, const(char)* errors)
    version(!Python_Unicode_UCS2)
    PyUnicodeUCS4_EncodeCharmap
  2. alias PyUnicode_EncodeCharmap = PyUnicodeUCS4_EncodeCharmap

Parameters

data
Type: Py_UNICODE*

Unicode char buffer

length

Number of Py_UNICODE chars to encode

mapping
Type: PyObject*

character mapping (unicode ordinal -> char ordinal)

errors
Type: const(char)*

error handling

Meta