SunToo
21st August 2012 07:32 UTC
Traditional Chinese displayed with wrong characters
Hi,
under Windows Vista I installed the language pack for traditional Chinese. I configured the system to use traditional Chinese as display language and for non-unicode programs. This works well but some characters are not displayed correctly. The Chinese "full stop" is always displayed as round bracket and double quotes are displayed as something undefined. This happens for Chinese text provided by NSIS as well as for customized text.
If I open the corresponding nsh-files, which contain the strings, on the same system all characters are displayed correctly.
Simplified Chinese also works well.
Is this an NSIS bug or do I make something wrong?
T.Slappy
21st August 2012 09:09 UTC
Do you use Unicode version of NSIS ? -> Download here: http://www.scratchpaper.com/
SunToo
21st August 2012 09:16 UTC
No, I use the ANSI version. Unfortunately I cannot switch to the UNICODE version currently.
SunToo
22nd August 2012 15:03 UTC
Ok, obviously nobody can answer my question. So I try it in another way:
Is there anybody that could confirm that the Chinese "full stop" and double quotes are displayed correctly under the same conditions (i.e. Traditional Chinese language pack, ANSI-Version of NSIS etc.)?
T.Slappy
23rd August 2012 05:51 UTC
No, ANSI version of NSIS cannot display correctly such character.
Chinese uses 2bytes per character (Unicode) while ANSI NSIS uses only 1 byte, so your "full stop" character will be truncated and displayed incorrectly.
SunToo
23rd August 2012 06:10 UTC
Thanks, T.Slappy,
but all other Chinese characters are displayed correctly. Why not these two?
T.Slappy
24th August 2012 08:02 UTC
Hmm I cannot see any Chinese characters in ANSI NSIS (maybe Windows regional settings is wrong?)
The Font you are using is ok?
SunToo
24th August 2012 08:08 UTC
After you downloaded the language pack for Traditional Chinese you should configure the system to use traditional Chinese as display language. Furthermore you should set the Traditional Chinese for non-unicode programs (Control Panel -> Regional and Language Options). Then your ANSI version should display Chinese characters.