PyUnicode_EncodeLatin1

  1. PyObject* PyUnicode_EncodeLatin1(Py_UNICODE* data, Py_ssize_t length, const(char)* errors)
    version(Python_3_3_Or_Later)
    extern (C)
    PyUnicode_EncodeLatin1
  2. alias PyUnicode_EncodeLatin1 = PyUnicodeUCS2_EncodeLatin1
  3. alias PyUnicode_EncodeLatin1 = PyUnicodeUCS4_EncodeLatin1

Parameters

data Py_UNICODE*

Unicode char buffer

length Py_ssize_t

Number of Py_UNICODE chars to encode

errors const(char)*

error handling

Meta