Is main menu real Unicode?

English support forum

Moderators: Hacker, petermad, Stefan2, white

yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

Oh I think I made a mistake.
I switch from Japanese Windows to Chinese Windows after some time.So TC shows all Chinese characters correctly.
I'll swtich to Japanese Windows and test again later.
#222405 Single user licence
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

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".
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50889
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, this seems to be the same error with detecting \n correctly.
Author of Total Commander
https://www.ghisler.com
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

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
#222405 Single user licence
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50889
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check that, thanks.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50889
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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/
Author of Total Commander
https://www.ghisler.com
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

I tried the Chinese language you provided in native Japanese Windows XP SP3,but still the problem exists.

Can anyone confirm this problem please?
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

I'll install a new Japanese Windows in virtual PC and a new TC in this Windows.

I'll report the result later.
#222405 Single user licence
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

Well, good news.
In new environment(new Japanese Windows and new TC) the Chinese language works OK.

Maybe there's something wrong with my old TC configuration.
I'll install a new TC in my old Japanese Windows and report again.
#222405 Single user licence
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

Characters in tabstop header of a new TC in my old Japanese Windows works OK.
Old TC still shows wrong characters.

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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50889
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Characters in tabstop header of a new TC in my old Japanese Windows works OK.
Old TC still shows wrong characters.
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?
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.
Strange, they look OK with German locale and Chinese language. I will check that with Japanese locale later (sorry, cannot reboot right now).
Author of Total Commander
https://www.ghisler.com
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

No,they use their own seperate settings file in their own install folder.
I forgot to say,I copied old TC folder to new virtual PC and the tabstop header works OK.It's indeed strange.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50889
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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!
Author of Total Commander
https://www.ghisler.com
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

I know what's wrong with the tabstop header.
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
If using below setting,it's OK:

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
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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50889
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I cannot reproduce it, the same characters are shown with Microsoft Sans Serif and SimSun with GB2312 character set (on Windows XP)...
what's the meaning of (8x18)
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.
Author of Total Commander
https://www.ghisler.com
Post Reply