If Py_FileSystemDefaultEncoding is not set, fall back to UTF-8.
- Use PyUnicode_DecodeFSDefaultAndSize() if you have the string length.
+ Use PyUnicode_DecodeFSDefaultAndSize() if the string length is known.
*/
PyAPI_FUNC(PyObject*) PyUnicode_DecodeFSDefault(
);
/* Encode a Unicode object to Py_FileSystemDefaultEncoding with the
- "surrogateescape" error handler, return a bytes object.
+ "surrogateescape" error handler, and return bytes.
If Py_FileSystemDefaultEncoding is not set, fall back to UTF-8.
*/