Bug with ascii/ansi codepage in Lister

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
Hacker
Moderator
Moderator
Posts: 13040
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Bug with ascii/ansi codepage in Lister

Post by *Hacker »

Yup, I have language for non-Unicode programs set to Slovak.

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
Hacker
Moderator
Moderator
Posts: 13040
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Bug with ascii/ansi codepage in Lister

Post by *Hacker »

AntonyD,
which EXACTLY fonts do you use for these modes? Do you REALLY have them on a disks of your comps?
I have the [x] default checkbox checked for all three Font settings in Lister. No Idea which exacly these fonts are of if they are really on my disk.

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
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Bug with ascii/ansi codepage in Lister

Post by *petermad »

I have the [x] default checkbox checked for all three Font settings in Lister. No Idea which exacly these fonts are of if they are really on my disk.
If you click on the empty button to the right of the [x] box you will se which font TC is using as default.
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
Hacker
Moderator
Moderator
Posts: 13040
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Bug with ascii/ansi codepage in Lister

Post by *Hacker »

petermad,
Isn't the default the same for most cases, though? I have:
Fixedsys Regular 12 Script Central European
Terminal Regular 12 Script OEM/DOS
System Bold 12 Script Central European

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
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Bug with ascii/ansi codepage in Lister

Post by *petermad »

2Hacker
I have:
Fixedsys Regular 11 Script Western
Terminal Regular 9 Script OEM/DOS
System Bold 12 Script Western

With clean wincmd.ini
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
bxx
Junior Member
Junior Member
Posts: 6
Joined: 2023-02-07, 12:33 UTC

Re: Bug with ascii/ansi codepage in Lister

Post by *bxx »

I confirm this happens on my machine, but only with the lowercase letter A (and all 3 lister fonts set to default). Any other letter looks fine. I'm on win11, language set to Serbian Cyrillic.

However I'm almost certain this is not a TC bug, but a bug with the built-in raster fonts. For non-western European languages they're full of bugs, I don't recommend using them. Instead you can either 1) edit the fonts yourself and fix them 2) set the "language for non-unicode programs" to English 3) set lister to use a Truetype font like Consolas or something.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Bug with ascii/ansi codepage in Lister

Post by *ghisler(Author) »

select >= 125% font size in windows interface.
This is your problem. The default pixel fonts used for ANSI/ASCII don't support bigger characters. Try using a different font, e.g. Consolas and Terminal.
Author of Total Commander
https://www.ghisler.com
nice
Junior Member
Junior Member
Posts: 84
Joined: 2018-03-12, 23:58 UTC

Re: Bug with ascii/ansi codepage in Lister

Post by *nice »

you haven't tried and you say that is my problem?

https://i.imgur.com/Vh0ftBi.png
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Bug with ascii/ansi codepage in Lister

Post by *ghisler(Author) »

You have to choose a font size supported by the font, otherwise it will not work.
Author of Total Commander
https://www.ghisler.com
nice
Junior Member
Junior Member
Posts: 84
Joined: 2018-03-12, 23:58 UTC

Re: Bug with ascii/ansi codepage in Lister

Post by *nice »

The default pixel fonts used for ANSI/ASCII don't support bigger characters.
wrong.
1. it does support some of the sizes, which are not selectable in the list, but with upscaling
2. the existing sizes is enough (for me)
3. Terminal is the only one OEM font, so it can't be selected some non-raster font.
4. works in Binary view (except letter "a" and "0x00")
5. works in Notepad in Win7
6. does not work in Notepad in Win 10
7. if it's a not TC bug, but a MS bug, it doesn't mean that it doesn't need to be fixed
8. i am a regular user and try to investigate, but they are replying in one-line ???
Last edited by nice on 2023-03-20, 23:32 UTC, edited 1 time in total.
User avatar
AntonyD
Power Member
Power Member
Posts: 1217
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Bug with ascii/ansi codepage in Lister

Post by *AntonyD »

Well, first of all - you need to check only in supported OS. 7 or XP - this is not the case. sorry, but c'est la vie....
And there, alas, but people stay with themselves - because it is unlikely that anyone will start to redo the code.
So take 10 or 11. And in them, especially after the default font change procedure, which is very
ugly and uncomfortable to view, we conclude that everything works properly and there is no bug.
So who? And where is it? and the main thing is "what" should do?
#146217 personal license
nice
Junior Member
Junior Member
Posts: 84
Joined: 2018-03-12, 23:58 UTC

Re: Bug with ascii/ansi codepage in Lister

Post by *nice »

There is no OEM font except Terminal. To what font should I change it?
User avatar
AntonyD
Power Member
Power Member
Posts: 1217
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Bug with ascii/ansi codepage in Lister

Post by *AntonyD »

nice wrote: 2023-03-21, 01:20 UTC There is no OEM font except Terminal. To what font should I change it?
Why you use this clarifications? OEM/Terminal. What’s that supposed to mean?
What is it supposed to convey? Does showing the contents of the file so you depend on this single font?
You use that font which looks better rather than others)))
On the Internet you can find a bunch of fonts that even already come with a preview of HOW they will look.
#146217 personal license
User avatar
Hacker
Moderator
Moderator
Posts: 13040
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Bug with ascii/ansi codepage in Lister

Post by *Hacker »

Well, if I understand correctly, I think the question is why everything looks OK in Notepad but not in Lister, with the same fonts and sizes and DPI settings.

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.
nice
Junior Member
Junior Member
Posts: 84
Joined: 2018-03-12, 23:58 UTC

Re: Bug with ascii/ansi codepage in Lister

Post by *nice »

OEM is ASCII mode (DOS). So, for ASCII, should I use not the ASCII font, but the ANSI font?
And if I use ANSI (Windows) font for DOS mode, what is the reason there is a "primary ANSI" (Windows) and "secondary ANSI" (supposed to be ASCII/DOS)? To use good typefaces?
So you're using a user-selectable "non-ugly" fonts to make it non-functional to use one of the viewing modes?
ASCII mode is obsolete and no one uses it? Delete it. Some .nfo files are still in ASCII, and with some "pseudographics". I will not ask how do you view them. Or maybe "old books". Or maybe who decides (for me)?
Post Reply