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

User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Lister, Euro sign

Post by *petermad »

of course no. I even theoretically cannot understand why it could happen
Well, but I do see it.
hange the encoding - from my native 1251 to 1250/1252
that could be an issue for ANSI files, but it can not ecplain why you don't see the euro sign in Unicode or UTF8 encoded files, they don't use those settings.

BTW, can you see the € sign in the other files in https://madsenworld.dk/tcmd/euro-test.zip ??
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Lister, Euro sign

Post by *AntonyD »

why you don't see the euro sign in Unicode or UTF8 encoded files
stop-stop. I never said that.
can you see the € sign in the other files
of course.
#146217 personal license
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Lister, Euro sign

Post by *AntonyD »

I should confess that I completely do not understand the politics regarding the font/char substitution.
And the Showing of different encoding using the one and the same font.
Maybe Windows does something special - but why - in which circumstances - by which rules??? who knows...

For example my FixedSys font contains ONLY my native Cyrillic charset! This fact imho can explain - why I cannot see the euro sign.
Because its successor - the font "Lucida Console" - which in my opinion MUST be chosen by default as ANSI font - already contains 5 charsets!
Last edited by AntonyD on 2022-04-21, 18:17 UTC, edited 1 time in total.
#146217 personal license
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Lister, Euro sign

Post by *petermad »

2AntonDudarenko
can you see the € sign in the other files

of course.
But in your first post you write:
All symbols are displayed correctly, except for the Euro sign. Instead of the Euro sign - a black square:
₨ ₩ ₪ ₫ ■ ₭ ₮ ₯ ₰
And later to the question of what encoding your files have you write:
UTF-8 BOM, UTF-16
So how come that you can (of course) see the euro sign in my other test files - or were you referring to (of course) seeing them in Notepad and not Lister?
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Lister, Euro sign

Post by *AntonyD »

But in your first post you write:
by *grmmx in fact the first post has born ;)
And later to the question of what encoding your files have you write:
this was an answer from grmmx ;)

I just could confirmed that default TC font "Fixedsys" in my Cyrillic locale - IS NOT a good font for ANSI rendering.
This font lacks of many chars which I prefer to see. That's why I decided to insert myself into another person's post, just to add information from the side.
That's why I struggle now for 2 options - OR to change the default ANSI into "Lucida Console"|"Consolas" OR to put into TC setup exe some ANOTHER FONT - which can be very easily used for rendering most of UNIchars AS for ANSI so and for ASCII cases of viewing capabilities of the Lister window...
#146217 personal license
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Lister, Euro sign

Post by *AntonyD »

Hmmm, after some digging procedures I would say that the changing of font itself does not do the main thing - only changing the charset allow for me to see or not to see the euro sign. But this operation I already can do from corresponding Lister's menu: Encoding...

So I'm in a complete tizzy - so what's the best thing to do/suggest...
#146217 personal license
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Lister, Euro sign

Post by *petermad »

by *grmmx in fact the first post has born
:oops: Oops - Sorry for that mistake - that explains some things.

In the setup for the Lister font - do you maybe have a choice to select "Western"
for the fixedsys font - as here: https://madsenworld.dk/tcmd/listerfixedsys.png
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Lister, Euro sign

Post by *AntonyD »

In the setup for the Lister font - do you maybe have a choice to select "Western"
for the fixedsys font - as here:
And here's the moment I was thinking about. The character set in this font is different for each region/language.
My font for my locale/my language only has Cyrillic. Nothing more.
This is why I propose that the world should find a monospace font that can contain characters from different encodings.

And probably "Lucida Console"|"Consolas" - are the first variants for using against of outdated Fixedsys
#146217 personal license
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Lister, Euro sign

Post by *Usher »

Raster ANSI fonts *.fon (Fixedsys) contain only ONE Windows codepage. By default it is the codepage set for the whole OS.
It's even more complicated for raster DOS/OEM fonts (Terminal).
Lucida Console is available starting from Windows 98: https://docs.microsoft.com/pl-pl/typography/font-list/lucida-console
Consolas is available starting from Windows Vista: https://docs.microsoft.com/pl-pl/typography/font-list/consolas
Andrzej P. Wozniak
Polish subforum moderator
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Lister, Euro sign

Post by *AntonyD »

In other words, we can't do anything about this behavior (we can already say for sure - not a bug).
There will always be problems with the font chosen by the user and the encoding in it.
Probably the topic can be moved to the "behavior that will not be changed" subforum.
#146217 personal license
Post Reply