7 months ago Paul Boddie Renamed the utf8string class to unicode, eliminating the unicode function. This means that the simple case of merely returning an object if it is already a Unicode object no longer occurs when using the unicode callable, but such behaviour might be better supported with more general customised instantiation functionality.
     1 import locale     2      3 print locale.getlocale()     4 print locale.initlocale()     5 print locale.getlocale()     6 print locale.setlocale(locale.LC_CTYPE, "en_GB.UTF-8")     7 print locale.getlocale()