PyDocs

Nav

Python Runtime Services

_enablelegacywindowsfsencoding

sys

function · Added in 3.6Deprecated 3.13Windows
  • _enablelegacywindowsfsencoding()
Deprecated since 3.13, removed in 3.16. Use PYTHONLEGACYWINDOWSFSENCODING instead.
Changes the filesystem encoding and error handler to ‘mbcs’ and ‘replace’ respectively, for consistency with versions of Python prior to 3.6.
0 Examples
No examples for sys/_enablelegacywindowsfsencoding.
See Also
No see-alsos for sys/_enablelegacywindowsfsencoding
0 Notes
No notes for _enablelegacywindowsfsencoding