Closed Leon0824 closed 2 years ago
It seems cp65001 was added in Python 3.3, which I missed, but since Python 3.8 it's just an alias for UTF-8. So, there's nothing really to fix anymore, although I could add a test to make sure that no encodings are missed.
I'm not sure if you can work around that. You can try to go into the preferences dialog, uncheck "Current locale encoding" and put "Unicode (UTF-8)" into the "Fallback encodings" list. Maybe then it wouldn't try to use cp65001 and if cp65001 is indeed UTF-8, it should just work.
Hi, I tried the work around. The exact same error occurs.
Maybe you have cp65001 in the config file? You can try editing the encoding and file sections of the config file %APPDATA%\Gaupol\gaupol.conf
as follows. Still not sure it'll work, but if you do have cp65001 mentions in the config file that would be a problem.
[encoding]
fallback = ["utf_8"]
try_locale = false
visible = ["utf_8"]
[file]
encoding = "utf_8"
It does not work. I just noticed that Gaupol for Windows was stoped at 1.3.1. 😮
Whatever, I figured out a work around. Using Locale Emulator to launch Gaupol in other locale. And another way is switching to Linux. I am a dual-boot guy. 🤓
Yeah, I stopped making those Windows installers (#189), so best I can try to offer is work-arounds when issues are found.
Glad it works somehow. And if you do use Linux, Gaupol is much better there.
Hi! I got this error when clicking the 'Open' button.