#2135 Installer under zh-HK shows garbage

Branch
open
nobody
None
5
2014-10-24
2013-03-06
Alvin Wong
No

(It says to include the version number, so it's 2.14.0, but it doesn't seem to matter... the problem has existed since I first used WinMerge a few years ago.)

(Also I don't think any logs will help.)

Expected behaviour

Running installer under zh-HK machines will show Traditional Chinese.

What went wrong

Attached is an image with two screenshots of what the installer shows.

Left:

This is what happens under Windows 7 (x64 Ultimate, but shouldn't really matter) with locale/language zh-HK (Chinese, Hong Kong).

Here explains a little bit more:

The majority of computer users in Hong Kong use Traditional Chinese (so non-Unicode things are in Big5). Most programs simply use zh-TW for Hong Kong, and we are used to that.

However, it seems that the WinMerge installer (which seems to be InnoSetup) uses Simplified Chinese, so the result is GB encoded text displayed in Big5 = garbage.

Right:

Using AppLocale to run the installer in Simplified Chinese, displayed "normal" Simplified Chinese.

However, using either Traditional Chinese or English still display same garbage, but doesn't force the installer to use the selected language.


I've tried to set the language settings in Windows to Taiwan, but it still shows garbage, so I would wonder if the Traditional Chinese language of the installer ever worked.

Steps to reproduce

  1. Set the language and locale to Chinese (Hong Kong) (may not work) or install a copy of Windows 7 Chinese (Hong Kong).
  2. Start WinMerge installer.

Suggestions to resolve

Simplest (lazy) solution: Add a language selection dialog at the beginning. (Anyway this should still be added regardless of how this problem is resolved.)

Alternative solution: Make zh-HK use Traditional Chinese.

Additional comments

It's really annoying to see either garbage or Simplified Chinese items get added to my start menu.

1 Attachments

Discussion

  • Leo Tsang

    Leo Tsang - 2014-10-24

    The workaround is to add the "/LANG" parameter in command line as follows:

    C:\temp>WinMerge-2.14.0-Setup.exe /LANG=english

    Then, the installer will be forced to use English language.

     
  • Leo Tsang

    Leo Tsang - 2014-10-24

    For installation in Traditional Chinese language, the command line is:

    WinMerge-2.14.0-Setup.exe /LANG=chinese_traditional

     

Log in to post a comment.