Incorrect tooltips codepage

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Incorrect tooltips codepage

Post by *MVV »

I understand that this is not the bug (and don't know this is more a bug report or suggestion) but...

In English OS I see wrong characters if I have Russian tooltip strings or Start menu items. I think TC should have INI parameter with default codepage for strings stored in INI-file (tooltips, start menu items etc), i.e. if I set it to 1251, I'll see correct characters independently of regional OS settings.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Which tooltip strings do you mean? [DriveHints]?
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I mean custom tooltip fields defined in [HintsCustomField]. About drive hints I don't say for now, I need to test it on that machine.
But I think TC should have a generic codepage option set for all non-Unicode strings in configuration files - like as in LNG files.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC can use Unicode ini files, so just convert the wincmd.ini to Unicode with notepad. Unfortunately not all fields support Unicode yet, and some never will, sorry.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Drive tooltips should work with Unicode wincmd.ini file now in TC 7.5 final too, as well as button tooltips or tips from [HintsCustomField]. Can you test it? You can open the wincmd.ini in notepad and save as unicode.
Author of Total Commander
https://www.ghisler.com
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

Tried to create a mixed string with umlauts and cyrillic symbols in [HintsCustomField]

Code: Select all

üäöабцд
Successful. All symbols are shown correctly under Win7 X64 rus with TC7.50 final. Russian local for non-unicode applications. Wincmd.ini saved in unicode.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I tested it with Unicode INI-file and BAR-file, all work fine.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply