2020-07-16 | Paul Boddie | file changeset files shortlog | Fixed int limit macros by actually using the size of the int type. For wider types such as long, which may be usable on 64-bit platforms in place of int, 1L would need to be used instead of 1 in the calculation. An abstract native integer type might be introduced here and to the native library to allow wider types if appropriate. |
paul@375 | 1 | import locale |
paul@375 | 2 | |
paul@375 | 3 | print locale.getlocale() |
paul@375 | 4 | print locale.initlocale() |
paul@375 | 5 | print locale.getlocale() |
paul@375 | 6 | print locale.setlocale(locale.LC_CTYPE, "en_GB.UTF-8") |
paul@375 | 7 | print locale.getlocale() |