PyUnicode_EncodeCharmap

  1. PyObject* PyUnicode_EncodeCharmap(Py_UNICODE* data, Py_ssize_t length, PyObject* mapping, const(char)* errors)
    version(Python_3_3_Or_Later)
    extern (C)
    PyUnicode_EncodeCharmap
  2. alias PyUnicode_EncodeCharmap = PyUnicodeUCS2_EncodeCharmap
  3. alias PyUnicode_EncodeCharmap = PyUnicodeUCS4_EncodeCharmap

Parameters

data Py_UNICODE*

Unicode char buffer

length Py_ssize_t

Number of Py_UNICODE chars to encode

mapping PyObject*

character mapping (unicode ordinal -> char ordinal)

errors const(char)*

error handling

Meta