def decode_fs_string(string):
    charset = sys.getfilesystemencoding()
    if charset is None:
        charset = locale.getpreferredencoding()
    return string.decode(charset)
Filter (key, value) pairs by key and return a subset.
dataset/ETHPy150Open winpython/winpython/winpython/utils.py/decode_fs_string--crossover with--dataset/ETHPy150Open jek/flatland/flatland/util/base.py/keyslice_pairs