Searched refs:getencoding (Results 1 – 25 of 26) sorted by relevance
12
619 from _locale import getencoding623 def getencoding(): function639 return getencoding()655 return getencoding()663 return getencoding()
195 pth_content = pth_content.decode(locale.getencoding())
384 return locale.getencoding()
2252 return locale.getencoding()
344 enc = codecs.lookup(locale.getencoding() or 'ascii').name526 enc = locale.getencoding()539 self.assertEqual(locale_fallback.getencoding(), encoding)
49 encoding = locale.getencoding()
193 info_add('locale.getencoding', locale.getencoding())
1972 encoding = locale.getencoding()
1439 current_locale_encoding = locale.getencoding()
2904 current_locale_encoding = locale.getencoding()
39 and :func:`~locale.getencoding` instead.
136 return locale.getencoding()
226 encoding = locale.getencoding()
673 % (locale.getencoding(), sys.getfilesystemencoding()))
222 Pure python :func:`locale.getencoding` will not warn deprecation.
1345 Add :func:`locale.getencoding` to get the current locale encoding. It is
115 locale-specific (:func:`locale.getencoding`).953 encoded with. It defaults to :func:`locale.getencoding`.
577 encoding (see :func:`locale.getencoding`). To decode a file
380 .. function:: getencoding()
1347 :func:`locale.getencoding` is called to get the current locale encoding.1407 dependent (whatever :func:`locale.getencoding` returns), but any
915 By default, current locale encoding is used (see :func:`locale.getencoding`).
1475 locale.getencoding() == 'cp65001' and
303 the default system encoding as returned by :func:`locale.getencoding`.
728 :func:`locale.getencoding`).
820 :func:`locale.getencoding` can be used to get the locale encoding.