Lister using different fonts

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Hacker
Moderator
Moderator
Posts: 13064
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Lister using different fonts

Post by *Hacker »

Hi,
TC 10.50b3 64-bit / 32-bit, Windows 10.0.19044.1645 (21H2) 64-bit.
Clean .ini file.

Why does the following file:

Test.uue

Code: Select all

begin 644 Test.txt
15&5S=`T*1G)A;G1IFF5K#0H`
`
end
sum -r/size 10338/17
Look like this?

The problems I see:
- the file is autodected as ASCII instead of ANSI
- the fonts on line 1 and line 2 are different

After switching to ANSI the file looks normal.

TIA
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister using different fonts

Post by *ghisler(Author) »

The ASCII detection function mostly looks for Western languages, so it sees the š in Ansi and Ü in Ascii and assumes that it is Ascii.

Here the two lines look the same:
Test
FrantiÜek

With central European font, the character seems to be š in Ascii too, but it must be missing from the default font TC is using, so Windows will do some font substitution.

I think it would be good to have a better ANSI/ASCII detection mechanism depending on the current encoding...
Author of Total Commander
https://www.ghisler.com
Post Reply