Set Py_UNICODE_REPLACEMENT_CHARACTER type to Py_UCS4, instead of Py_UNICODE
This commit is contained in:
parent
e56717c3d2
commit
5ce1b0dbc0
|
@ -506,7 +506,7 @@ PyAPI_DATA(PyTypeObject) PyUnicodeIter_Type;
|
|||
Unicode character U+FFFD is the official REPLACEMENT CHARACTER in
|
||||
Unicode 3.0. */
|
||||
|
||||
#define Py_UNICODE_REPLACEMENT_CHARACTER ((Py_UNICODE) 0xFFFD)
|
||||
#define Py_UNICODE_REPLACEMENT_CHARACTER ((Py_UCS4) 0xFFFD)
|
||||
|
||||
/* === Public API ========================================================= */
|
||||
|
||||
|
|
Loading…
Reference in New Issue