BGforgeNet / bg2-wildmage

Wild Mage additions mod for Baldur's Gate 2
https://forums.bgforge.net/viewforum.php?f=29
3 stars 4 forks source link

Chinese are garbled under the windows console when installing in the EE version #30

Open MephistoSatanDevil opened 5 months ago

MephistoSatanDevil commented 5 months ago

QQ截图20240512174522 use ansi

QQ图片20240512174529 use utf8

When installing in the EE version of the game, the Chinese options under the windows console are garbled. The tra_ee\schinese\setup-win32.tra file should be utf8 encoded.

weidu.exe is WeiDU-Windows-249-amd64.zip

burner1024 commented 5 months ago

Wiki says default console codepage for Chinese is cp936, did you change that?

MephistoSatanDevil commented 5 months ago

Wiki says default console codepage for Chinese is cp936, did you change that?

no The latest version of weidu (WeiDU-Windows-249-amd64) can display utf8 encoded text in console normally by default, only WeiDU-Windows-249-x86-legacy.zip version needs ansi encoding format.

burner1024 commented 5 months ago

so what's your default codepage as reported by chcp?

MephistoSatanDevil commented 5 months ago

console codepage

QQ截图20240512195956 It's the default, of course, which is cp936.

burner1024 commented 5 months ago

Not sure what to make of it. "can display utf8" is one thing. "Requires utf8" is another. And does that apply to all languages, then?

@ALIENQuake do you know?

burner1024 commented 4 months ago

No response on the forums. Don't know how this is supposed to work.

MephistoSatanDevil commented 3 months ago

No response on the forums. Don't know how this is supposed to work.

https://github.com/The-Gate-Project/DarkHorizons/pull/23

Perhaps the discussion about this PR might be helpful to you.