PyUnicode_DecodeFSDefault

Decode a null-terminated string using Py_FileSystemDefaultEncoding and the "surrogateescape" error handler.

If Py_FileSystemDefaultEncoding is not set, fall back to the locale encoding.

Use PyUnicode_DecodeFSDefaultAndSize() if the string length is known. Availability: >= 3.2

version(Python_3_2_Or_Later)
extern (C)
PyUnicode_DecodeFSDefault
(
const(char)* s
)

Meta