Is main menu real Unicode?
Moderators: Hacker, petermad, Stefan2, white
Now I'm using Japanese Windows.
I confirm there's no messy code now.
But I must edit the *.lng file to add a space string in front of "\n" in some places. Otherwise the string will show at wrong place in Japanese OS.Look at the screen shot: http://picasaweb.google.com/lh/photo/cYE11IA2m6K9sAH8PBYM7A?feat=directlink
"plugin" and "插件" are the same meaning of plugin,they show together on UI.The "plugin" tab should show "加载/保存" string on it.The first tab should show "常规" and the second should show "高级".
Here's an example in *.lng file: 5602="常规\n高级\n加载/保存\n插件". It's 5602="General\nAdvanced\nload/save\nplugin" in English.
In Chinese OS there's no such problem even if I don't add a space string in front of "\n".
I confirm there's no messy code now.
But I must edit the *.lng file to add a space string in front of "\n" in some places. Otherwise the string will show at wrong place in Japanese OS.Look at the screen shot: http://picasaweb.google.com/lh/photo/cYE11IA2m6K9sAH8PBYM7A?feat=directlink
"plugin" and "插件" are the same meaning of plugin,they show together on UI.The "plugin" tab should show "加载/保存" string on it.The first tab should show "常规" and the second should show "高级".
Here's an example in *.lng file: 5602="常规\n高级\n加载/保存\n插件". It's 5602="General\nAdvanced\nload/save\nplugin" in English.
In Chinese OS there's no such problem even if I don't add a space string in front of "\n".
- ghisler(Author)
- Site Admin
- Posts: 50889
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks, this seems to be the same error with detecting \n correctly.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Chinese language in Japanese Windows.
The problem of messy code in this picture still exists in beta7.The first and third and fifth column of tabstop are messy code.They should be 文件名 大小 属性 separately.
http://picasaweb.google.com/lh/photo/fswbOe_aw-wn1RPaBhZOPg?feat=directlink
The problem of messy code in this picture still exists in beta7.The first and third and fifth column of tabstop are messy code.They should be 文件名 大小 属性 separately.
http://picasaweb.google.com/lh/photo/fswbOe_aw-wn1RPaBhZOPg?feat=directlink
#222405 Single user licence
- ghisler(Author)
- Site Admin
- Posts: 50889
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50889
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have tested this now with Beta 7 and 8, but it works as it should: First I changed the locale for non-Unicode programs to Chinese and tried the Chinese language file. Then I changed the locale to Japanese (requires reboot) and tried it again. In both cases the tabstop headers look exactly as when I view the file wcmd_chn.lng with Lister (encoding set to Chinese).
Maybe you are using an older version of the Chinese translation? Please try the one from here:
https://plugins.ghisler.com/lang750/
Maybe you are using an older version of the Chinese translation? Please try the one from here:
https://plugins.ghisler.com/lang750/
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50889
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Interesting, do they use the same settings file (see help - about Total Commander for location)? If not, maybe there is some specific setting which causes the problem?Characters in tabstop header of a new TC in my old Japanese Windows works OK.
Old TC still shows wrong characters.
Strange, they look OK with German locale and Chinese language. I will check that with Japanese locale later (sorry, cannot reboot right now).I found another problem.The tooltips of the four buttons(Find button etc.) on compare dialog shows messy code.Using Chinese language in Japanese OS.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50889
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I could reproduce the problem with Chinese tooltips on Japanese Windows now! The problem seems to be that Chinese and Japanese share some Unicode character codes. I could find a solution for that now.
I still cannot reproduce the problem with the tabstop header, though. If you find out with which settings it happens, please let me know!
I still cannot reproduce the problem with the tabstop header, though. If you find out with which settings it happens, please let me know!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I know what's wrong with the tabstop header.
If using below setting,the problem will take place:
If using below setting,it's OK:
The differences between the two settings are "FontName=" and "FontCharset=134".
Hope this can help to fix the problem.
BTW,what's the meaning of (8x18) following 1280x1024?There's no explanation in TC's help.
If using below setting,the problem will take place:
Code: Select all
[1280x1024 (8x18)]
FontSize=9
FontName=SimSun
FontCharset=134
FontSizeWindow=8
FontNameWindow=Microsoft Sans Serif
FontCharsetWindow=1
FontWeight=400
FontWeightWindow=700
FontNameDialog=Microsoft Sans Serif
Code: Select all
[1280x1024 (8x18)]
FontSize=9
FontName=Microsoft Sans Serif
FontSizeWindow=8
FontNameWindow=Microsoft Sans Serif
FontCharsetWindow=1
FontWeight=400
FontWeightWindow=700
FontNameDialog=Microsoft Sans Serif
Hope this can help to fix the problem.
BTW,what's the meaning of (8x18) following 1280x1024?There's no explanation in TC's help.
- ghisler(Author)
- Site Admin
- Posts: 50889
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately I cannot reproduce it, the same characters are shown with Microsoft Sans Serif and SimSun with GB2312 character set (on Windows XP)...
These are the so-called dialog base units which can be retrieved with the Windows function GetDialogBaseUnits: When using large fonts, these numbers will be larger. TC stores different font settings (and window sizes) when the user uses large fonts than when he uses small fonts.what's the meaning of (8x18)
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com