Dev-Cpp icon indicating copy to clipboard operation
Dev-Cpp copied to clipboard

GUI text garbled after change language to Chinese (TW)

Open sonyandy123 opened this issue 3 years ago • 4 comments

Dev-C++ 6.3 After change language to Chinese (TW): devcpp_6 3

Expect display (Dev-C++ 5.11): devcpp_5 11

sonyandy123 avatar May 16 '22 08:05 sonyandy123

Sorry, I don't read chinese ... I assume these are the areas where the problem occurs :

image

pmcgee69 avatar May 17 '22 16:05 pmcgee69

Sorry, I don't read chinese ... I assume these are the areas where the problem occurs :

image

They all have problems, this is "Lang\Chinese_TC.lng" language file, open by Notepad++ and using big5 encode (codepage 950) devcpp6

You can see that their text is different, all of them are garbled

sonyandy123 avatar May 18 '22 07:05 sonyandy123

Also happened in Chinese(CN), maybe you should use UTF-8 for lng files.

Jisu-Woniu avatar Jun 04 '22 23:06 Jisu-Woniu

I also encountered the same problem, and the test results are provided as follows:

  1. Change the file Chinese_TC.lng to UTF-8 encoding, he still displays garbled characters.
  2. Change the file Chinese.lng to UTF-8 encoding, and it will also become garbled characters.
  3. Change the file Chinese_TC.lng to GB2312 encoding, and it will display part of the text normally (because some characters of Chinese (TW) are only supported by BIG5, or even only UTF-8).

The above conclusions prove that the reason why Chinese (TW) cannot be displayed normally is because of the use of big5 encoding (codepage 950). In the end, it is recommended that Chinese.lng and Chinese_TC.lng can support UTF-8, otherwise there will still be problems that some difficult characters cannot be displayed.

Supplementary Note: Although English.lng adopts UTF-8, the actual Chinese input still displays garbled characters.

harusakura924 avatar Dec 02 '22 19:12 harusakura924