Some problems with codepage=65001 in main LNG

Please report only one bug per message!

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8703
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: 48642
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: 8703
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: 48642
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: 8703
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: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka/Makiivka
Contact:

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).
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
Fla$her
Power Member
Power Member
Posts: 2540
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.
Overquoting is evil! 👎
Post Reply