def get_preferred_file_name_encoding():
 return (sys.getfilesystemencoding() or locale.getpreferredencoding() or u'utf-8')

def get_preferred_file_name_encoding ( ) : return ( sys . getfilesystemencoding ( ) or locale . getpreferredencoding ( ) or u'utf-8' )
get preferred file name encoding .