getfilesystemencoding()
Return the name of the encoding used to convert Unicode filenames into system file names, or None if the system default encoding is used. The result value depends on the operating system:
getfilesystemencoding still
returns "mbcs", as this is the encoding that applications should
use when they explicitly want to convert Unicode strings to byte
strings that are equivalent when used as file names.New in version 2.3.