Some problems with codepage=65001 in main LNG

Please report only one bug per message!

Moderators: Hacker, Stefan2, white

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

Some problems with codepage=65001 in main LNG

Post by *MVV »

Most of menus and dialogs work fine when codepage=65001 is set in main LNG file and MNU/LNG/INC are in UTF-8 w/o BOM.
However some troubles exist (1251 and 65001 LNG encodings' comparison): About dialog shows wrong characters (squares or invisible characters), also built-in plugin fields' names are bad (some are incomplete and other ones wrong at all).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 43759
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2MVV
The problems in the about box are with strings 672-676 - they are encoded and contain ANSI. The other problems are with plugins, see my reply to your other question. UTF-8 should only be used for translations which absolutely require it.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8658
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Yes, you're right, strings from about dialog are encoded specially so keep ANSI (I forgot it).
But why TC shows wrong names for built-in plugin fields?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 43759
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

These are from the lines 1579 and 1580. Can you check your translation there?
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8658
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Translation is ok, both cases on the screenshot use same one (official Russian) but in different encodings (second one is converted to UTF-8), and first one works perfectly.
User avatar
LonerD
Senior Member
Senior Member
Posts: 308
Joined: 2010-06-19, 20:18 UTC
Location: Donetsk

Post by *LonerD »

Confirm. Wrong characters cometimes present in plugins fields with changed codepage.

Wcmd_lng.lng and wmcd_lng.inc also need a conversion. Maybe possible to eliminate this need (technical ability is available on the example of the same synchronization tool).
Total Commander DreamLair - dream always, think totally, be the commander of you own life.
Fla$her
Senior Member
Senior Member
Posts: 449
Joined: 2020-01-18, 04:03 UTC

Re: Some problems with codepage=65001 in main LNG

Post by *Fla$her »

It was worth informing that the problem has been fixed in version 10.
Post Reply