Get the filesystem error handler: the error handler used with the filesystem encoding to convert between Unicode filenames and bytes filenames. The filesystem encoding is returned from getfilesystemencoding().
Syntax
PYTHON
sys.getfilesystemencodeerrors()
See Also
filesystem error handlerfilesystem encodinggetfilesystemencoding()os.fsencode()os.fsdecode()filesystem encoding and error handlerPyConfig_Read()filesystem_encoding