PyUnicodeUCS2_EncodeASCII

  1. PyObject* PyUnicodeUCS2_EncodeASCII(Py_UNICODE* data, Py_ssize_t length, const(char)* errors)
    version(Python_Unicode_UCS2)
    PyUnicodeUCS2_EncodeASCII
  2. alias PyUnicode_EncodeASCII = PyUnicodeUCS2_EncodeASCII

Parameters

data
Type: Py_UNICODE*

Unicode char buffer

length

Number of Py_UNICODE chars to encode

errors
Type: const(char)*

error handling

Meta