PyUnicode_EncodeASCII

  1. PyObject* PyUnicode_EncodeASCII(Py_UNICODE* data, Py_ssize_t length, const(char)* errors)
    version(Python_3_3_Or_Later)
    extern (C)
    PyUnicode_EncodeASCII
  2. alias PyUnicode_EncodeASCII = PyUnicodeUCS2_EncodeASCII
  3. alias PyUnicode_EncodeASCII = PyUnicodeUCS4_EncodeASCII

Parameters

data Py_UNICODE*

Unicode char buffer

length Py_ssize_t

Number of Py_UNICODE chars to encode

errors const(char)*

error handling

Meta