Home | History | Annotate | Download | only in python2.7

Lines Matching refs:setlocale

9     setlocale() function. It also includes default encodings for all
36 "setlocale", "resetlocale", "localeconv", "strcoll", "strxfrm",
83 def setlocale(category, value=None):
84 """ setlocale(integer,string=None) -> string.
323 setlocale(LC_ALL, "")
336 # store away the low-level version of setlocale (it's
338 _setlocale = setlocale
353 setlocale().
359 the default encoding for the locale code just like setlocale()
467 setlocale(LC_ALL, "") runs using the portable 'C' locale.
468 Calling setlocale(LC_ALL, "") lets it use the default locale as
532 def setlocale(category, locale=None):
580 oldloc = setlocale(LC_CTYPE)
582 setlocale(LC_CTYPE, "")
586 setlocale(LC_CTYPE, oldloc)
1850 setlocale(LC_ALL, "")
1853 print 'setlocale(LC_ALL, "") does not support the default locale'
1857 print 'Locale settings after calling setlocale(LC_ALL, ""):'