def get_preferred_arguments_encoding():
 return (locale.getdefaultlocale()[1] or u'latin1')

def get_preferred_arguments_encoding ( ) : return ( locale . getdefaultlocale ( ) [ 1 ] or u'latin1' )
get encoding that should be used for command-line arguments .