Platform Development • Re: I created a Python 3 port of UXP out of boredom...
Pale Moon forum - Forum index [Unofficial]
April 3, 2026
One piece of info I'm curious about but haven't checked out yet:
If someone on a non-English Windows (or rather more specifically, one outside the range of CP1252) does this in MozillaBuild:
CODE:
$ python3Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] on win32Type "help", "copyright", "credits" or "license" for more information.>>> import locale>>> locale.getpreferredencoding(False)'cp1252'>>>
Does it output cp1252, or the correct codepage? Knowing either way will help me eliminate possibilities here... one of my working theories as to why this is failing is that MozillaBuild/MSYS1 is lying to Python about the system codepage and hardcoding it to cp1252 somehow. The other theory I have in mind would be much simpler to fix if that's not the case.
Discussion in the ATmosphere