Russian ANSI text files garbled in lister
Moderators: Hacker, petermad, Stefan2, white
Russian ANSI text files garbled in lister
When I use Lister to view a file in Russian, initially I get garbage
http://nemadeka.com/commander/Initial_lister_view.gif
and have to press the 'S' key to be able to read the text.
The other 2 packages display the text correctly without additional effort:
http://nemadeka.com/commander/Initial_notepad++_view.gif
http://nemadeka.com/commander/Initial_notepad_view.gif
When the text is correctly displayed in the Lister, I copy it and when pasted into my e-mail client, it is garbage again, whatever the encoding:
http://nemadeka.com/commander/Pasted_into_email.gif
The text editors produce the desired result.
Notes:
- Display of Russian html pages in Lister is mainly incorrect, similar to the above;
- I remember the time when this problem did not exist.
Question:
- Is there a setting I have overlooked?
http://nemadeka.com/commander/Initial_lister_view.gif
and have to press the 'S' key to be able to read the text.
The other 2 packages display the text correctly without additional effort:
http://nemadeka.com/commander/Initial_notepad++_view.gif
http://nemadeka.com/commander/Initial_notepad_view.gif
When the text is correctly displayed in the Lister, I copy it and when pasted into my e-mail client, it is garbage again, whatever the encoding:
http://nemadeka.com/commander/Pasted_into_email.gif
The text editors produce the desired result.
Notes:
- Display of Russian html pages in Lister is mainly incorrect, similar to the above;
- I remember the time when this problem did not exist.
Question:
- Is there a setting I have overlooked?
Re: Russian ANSI text files garbled in lister
Hello, nemadeka.
Mainly this can be achieved by configuring inappropriate fonts for ANSI and ASCII texts.
Inside lister go to Options => Configure.
Setting the fonts for Ansi, Ascii and Variable to [x] Default each should fix the problem.
I managed to reproduce a similar behaviour like the one that you report by
+ setting the ANSI font to Lucida Console - Script: Cyrillic. (Western is correct here)
+ setting the ASCII font to Consolas - Script: Western
This is a double misconfiguration:
Ansi should be set to script=Western in Germany. Consolas is not a valid ASCII font, but a valid Ansi Western font.
Therefore using "Ansi" lister would distort German umlauts, but using the misconfigured "ASCII" font would correct the problem.
Of course text editors are not affected by a misconfigured T.C. lister and will behave properly if not instructed to do otherwise.
This test was done on
Windows 7 Enterprise SP1, 32-bit, German
Total Commander 8.0ß22
Kind regards,
Karl
There are several ways of making T.C. lister display ANSI text incorrectly.nemadeka wrote:When I use Lister to view a file in Russian, initially I get garbage
http://nemadeka.com/commander/Initial_lister_view.gif
and have to press the 'S' key to be able to read the text.
Mainly this can be achieved by configuring inappropriate fonts for ANSI and ASCII texts.
Inside lister go to Options => Configure.
Setting the fonts for Ansi, Ascii and Variable to [x] Default each should fix the problem.
I managed to reproduce a similar behaviour like the one that you report by
+ setting the ANSI font to Lucida Console - Script: Cyrillic. (Western is correct here)
+ setting the ASCII font to Consolas - Script: Western
This is a double misconfiguration:
Ansi should be set to script=Western in Germany. Consolas is not a valid ASCII font, but a valid Ansi Western font.
Therefore using "Ansi" lister would distort German umlauts, but using the misconfigured "ASCII" font would correct the problem.
Of course text editors are not affected by a misconfigured T.C. lister and will behave properly if not instructed to do otherwise.
This test was done on
Windows 7 Enterprise SP1, 32-bit, German
Total Commander 8.0ß22
Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
Re: Russian ANSI text files garbled in lister
Thanks, Karl.karlchen wrote:Hello, nemadeka.There are several ways of making T.C. lister display ANSI text incorrectly.nemadeka wrote:When I use Lister to view a file in Russian, initially I get garbage
http://nemadeka.com/commander/Initial_lister_view.gif
and have to press the 'S' key to be able to read the text.
Mainly this can be achieved by configuring inappropriate fonts for ANSI and ASCII texts.
Inside lister go to Options => Configure.
Setting the fonts for Ansi, Ascii and Variable to [x] Default each should fix the problem.
The file I am trying to view is in Russian, the system is Windows XP Pro, Russian locale, +US English.
I set the fonts to default.
Image: http://nemadeka.com/commander/Lister_config.gif
ANSI view
Image: http://nemadeka.com/commander/Lister_ANSI.gif
ASCII view
Image: http://nemadeka.com/commander/Lister_ASCII.gif
Variable width
Image: http://nemadeka.com/commander/Lister_VariableChar.gif
Good news -- pasting into TM does not change the garbage: it looks exactly as in lister, while previously it changed to some Greek charatcers
Image: http://nemadeka.com/commander/Pasted_into_email_DefaultSettings.gif
I'm afraid I have not fully understood what you said about German.
Good evening, nemadeka.
Even though my knowledge of the Russian language is less than minimal I am able to tell that setting everything to default did not do the trick. Even I can spot the incorrect characters. So my advice proved to be of little help.
Hopefully one of our Russian experts here in the forum will read this thread and offer their help.
Kind regards,
Karl
Even though my knowledge of the Russian language is less than minimal I am able to tell that setting everything to default did not do the trick. Even I can spot the incorrect characters. So my advice proved to be of little help.

Hopefully one of our Russian experts here in the forum will read this thread and offer their help.
The difference between German and Russian with respect to character set is: for Russian the default character set will by Cyrillic, for German it will be Western (Latin). I tried to imitate the problem which you see on my German Windows by instructing lister to use Cyrillic character representation.I'm afraid I have not fully understood what you said about German.
Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
Thanks for your input, people. 
The file is a plain text file
http://nemadeka.com/commander/thefile.zip
This is how it should look (notepad)
http://nemadeka.com/commander/good.gif
I am using 757 and had the same problem with 75a
The old TC version which did it all correctly was really old, a few years back.

The file is a plain text file
http://nemadeka.com/commander/thefile.zip
This is how it should look (notepad)
http://nemadeka.com/commander/good.gif
I am using 757 and had the same problem with 75a
The old TC version which did it all correctly was really old, a few years back.