Lister, Euro sign

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

grmmx
Junior Member
Junior Member
Posts: 6
Joined: 2022-04-18, 18:43 UTC

Lister, Euro sign

Post by *grmmx »

There is a problem with the display of the Euro sign by the internal viewer (Lister) with default settings.
Example, character set:
₨ ₩ ₪ ₫ € ₭ ₮ ₯ ₰
All symbols are displayed correctly, except for the Euro sign. Instead of the Euro sign - a black square:
₨ ₩ ₪ ₫ ■ ₭ ₮ ₯ ₰
Most likely, this problem exists in all versions of Total Commander. I checked versions: 6.56, 7.50, 10.00, 10.50
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Lister, Euro sign

Post by *Horst.Epp »

No such problem here with the € sign.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
Gral
Power Member
Power Member
Posts: 1467
Joined: 2005-01-26, 15:12 UTC

Re: Lister, Euro sign

Post by *Gral »

I cannot confirm this.
More info needed: did error occurs for both bitness version? your system version and bitness, encoding of file (ANSI, UTF-8, UTF-16, BOM - yes or not) and your locale settings for ANSI.
grmmx
Junior Member
Junior Member
Posts: 6
Joined: 2022-04-18, 18:43 UTC

Re: Lister, Euro sign

Post by *grmmx »

Gral wrote: 2022-04-18, 20:40 UTC I cannot confirm this.
More info needed: did error occurs for both bitness version?
Checked for x64 version.
Gral wrote: 2022-04-18, 20:40 UTC your system version and bitness
Windows 10 x64
Gral wrote: 2022-04-18, 20:40 UTC encoding of file (ANSI, UTF-8, UTF-16, BOM - yes or not)
UTF-8 BOM, UTF-16
Gral wrote: 2022-04-18, 20:40 UTC your locale settings for ANSI.
The problem only occurs in the Lister for the Euro sign. With any other symbols, I did not notice any problems in Lister.
The Euro sign is perfectly displayed in the system, everywhere. Notepad++ and "Windows notepad" are fine too.
User avatar
Stefan2
Power Member
Power Member
Posts: 4157
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Lister, Euro sign

Post by *Stefan2 »

2grmmx
Maybe check "Lister > Options > Configure,,, > Font" which font is used there.





 
grmmx
Junior Member
Junior Member
Posts: 6
Joined: 2022-04-18, 18:43 UTC

Re: Lister, Euro sign

Post by *grmmx »

Stefan2 wrote: 2022-04-18, 21:34 UTC 2grmmx
Maybe check "Lister > Options > Configure,,, > Font" which font is used there. 
All "Lister" settings are standard, by default. Font "Lister" by default: for ANSI - Fixedsys, for ASCII - Terminal.

System: Windows 10 x64. Fonts in the system did not change, standard.
User avatar
AntonyD
Power Member
Power Member
Posts: 1246
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Lister, Euro sign

Post by *AntonyD »

Looks like the problem indeed is inside the "Fixedsys" font. If I use it - I can easily confirm the bug.
If I choose the "Consolas" font for example - there is no such a bug....
#146217 personal license
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: Lister, Euro sign

Post by *hi5 »

If you do want to use Fixedsys, google "Fixedsys Excelsior 3.01" which is an extended version which includes many more characters including the euro sign.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Lister, Euro sign

Post by *Usher »

2hi5
Fixedsys Excelsior 3.01 is NOT a monospaced font. It's a TrueType duospaced font with metrics similar to system raster font Fixedsys.fon, see:
https://en.wikipedia.org/wiki/Duospaced_font
https://en.wikipedia.org/wiki/Fixedsys
It can't be set as ANSI/ASCII font in Lister using it's "Configure..." option. If you make change manually in wincmd.ini, you won't be able to switch encoding between ANSI and ASCII with A and S as hotkeys.

Note that Fixedsys provided with system should work properly if there is no problem with font cache. If there's something wrong, you should delete file
%SYSTEMROOT%\System32\FNTCACHE.DAT (as Administrator) and restart Windows.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister, Euro sign

Post by *ghisler(Author) »

I don't think that this can be fixed when the font itself is missing the Euro sign. Normally Windows does font substitution, but the Euro sign is in the basic character set and will not be substituted.
Author of Total Commander
https://www.ghisler.com
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: Lister, Euro sign

Post by *hi5 »

Usher wrote: 2022-04-20, 03:25 UTCFixedsys Excelsior 3.01 is NOT a monospaced font.
The wikipedia link has the old archived website I couldn't find earlier - more details for the curious https://web.archive.org/web/20190127173808/http://www.fixedsysexcelsior.com/information/faq.htm
(I used it for many years as "monospace" and it worked well, even if it wasn't a monospaced font, with a 4K monitor it ain't pretty so I ditched it, still great font though)
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
User avatar
petermad
Power Member
Power Member
Posts: 14793
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Lister, Euro sign

Post by *petermad »

Hmm, I copied your first test line ( ₨ ₩ ₪ ₫ € ₭ ₮ ₯ ₰ ) and pasted into notepad and saved the file at Unicode, UTF8(with and without BOM), ANSI and UFT16LE

And execept for the ANSI file Lister shows all the characters correct, and in the ANSI fil the only correct character is the €
See ANSI: https://madsenworld.dk/tcmd/euro-ansi.png
See UTF8BOM: https://madsenworld.dk/tcmd/euro-utf8bom.png
See UTF8: https://madsenworld.dk/tcmd/euro-utf8.png
See Unicode (UTF16BE): https://madsenworld.dk/tcmd/euro-unic.png
See UTF16LE): https://madsenworld.dk/tcmd/euro-utf16le.png

My testfiles can be downloaded at https://madsenworld.dk/tcmd/euro-test.zip

I have testet it under Windows 7 and Windows 10 21H2 with Fixedsys font
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
AntonyD
Power Member
Power Member
Posts: 1246
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Lister, Euro sign

Post by *AntonyD »

with Fixedsys font
Looks like this font has different content for different regions?
MY version of this preinstalled font at my home Windows 10 21H2 and in the office Windows 10 LTSC 2019 shows that there is no such symbol.
Thus IMHO we should agreed, that TC in the upcoming release version should be installed with some predefined FONTS which MUST cover the basis UNIchars. As for ANSI so and for ASCII cases of viewing capabilities of the Lister window
#146217 personal license
User avatar
petermad
Power Member
Power Member
Posts: 14793
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Lister, Euro sign

Post by *petermad »

2AntonDudarenko
Except for c8514fix.fon non of by "fix" fonts contains €, so when it is shown in my Lister it must be becaus of font substitution, which for some reason doesn't seem to work on your computer.

How about if you download https://madsenworld.dk/tcmd/euro-test.zip and open the file euro-ansi.txt in Notepad - do you see the € there?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
AntonyD
Power Member
Power Member
Posts: 1246
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Lister, Euro sign

Post by *AntonyD »

open the file euro-ansi.txt in Notepad - do you see the € there?
of course no. I even theoretically cannot understand why it could happen ;)

PS. Stop - theoretically now I think understood. IF for the chosen font i will start to change the encoding - from my native 1251 to 1250/1252 - then I will start to see this char. BUT this process - changing the encodings - is not too familiar and comprehensible to us.
#146217 personal license
Post Reply