

def decode_fs_string(string):
    'Convert string from file system charset to unicode'
    charset = sys.getfilesystemencoding()
    if (charset is None):
        charset = locale.getpreferredencoding()
    return string.decode(charset)

dataset/ETHPy150Open winpython/winpython/winpython/utils.py decode_fs_string/original