spreadflow_observer_fs.compat module

spreadflow_observer_fs.compat.fsencode(filename)

Encode filename to the filesystem encoding with ‘surrogateescape’ error handler, return bytes unchanged. On Windows, use ‘strict’ error handler if the file system encoding is ‘mbcs’ (which is the default encoding).