File Find: Problem with pasting special characters

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

Post Reply
schittli
Member
Member
Posts: 101
Joined: 2004-01-06, 16:13 UTC
Location: Switzerland, Biel Bienne

File Find: Problem with pasting special characters

Post by *schittli »

Good afternoon

If I have the following string in the ClipBoard:

*•*.*

[• has Asc Value 149]

and paste this Text in *any* of the Textfields in TCMD's
File Find dialogue, then something like
*|*.*
is displayed.

Fortunately, TCMD searches right, but again does display
the wrong characters in the results window.

Kind regards,
Thomas
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Confirmed,

but only in the case of a non true type font like "MS Sans serif" selected as "Dialog box font".

Solution:
Change the dialog box font to any other true type font like "Tahoma", "Trebuchet MS", or "Microsoft Sans serif".

It seems that "MS Sans serif" is still the default dialog box font when starting with a fresh ini-file!

Kind regards,
Holger
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

It seems that "MS Sans serif" is still the default dialog box font when starting with a fresh ini-file
Correct - and so far, no wild horses nor clo has been able to make Ghisler change that :-(
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
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Kill that crap !

Post by *Clo »

2HolgerK

:) Hello !

• You are right, I can't reproduce that here, I use Zurich CN BT (narrow complete TT font).
…It seems that "MS Sans serif" is still the default dialog box font when starting with a fresh ini-file!
• It should't ! In theory, the default font when installing is Microsoft Sans Serif which contains all needed characters…

• Unfortunately, MS Sans Serif is still the font in which the programme is written internally…
Hence, it springs up here and there from time to time…
- Some French-speaking users keeping old INIs have it still for ages, when it was the default for the dialogues etc.,
and never “put their noses” in the options to update them…
- That causes big issues for me to make correct translations (and rows with the Author !)

- But yet, a complete “Dina” bitmap font exists (free of charge).
- I've sent it to the Author, hoping he'll use it when the programme is largely rewritten
(let's say, when the full Unicode support is implemented, so for 7.5 or 8.0, with a newer Delphi too)
We all live in hope”, don't we ? :wink:

:mrgreen: VG
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Strong sign of the zodiac

Post by *Clo »

2petermad

:) Hello Peter !

• But still, “Horse” is my Chinese birth-year ! :lol:

:mrgreen: FR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

That's not a Total Commander bug, MS just forgot some characters in "MS Sans Serif"...
Author of Total Commander
https://www.ghisler.com
schittli
Member
Member
Posts: 101
Joined: 2004-01-06, 16:13 UTC
Location: Switzerland, Biel Bienne

Post by *schittli »

Thanks a lot for all the answers and the solution:
Change the dialog box font to any other true type font like "Tahoma",
"Trebuchet MS", or "Microsoft Sans serif".
I had "Microsoft Sans serif" for all settings, except for
the dialog box font...

But: I never changed that, so it seems that TotalCommander
uses (used?) as default dialog box Font "MS Sans serif" and if
this is true, then it is a TotalCommander problem. [A 'default'
user is not able to recognize that he should change the font
to solve that problem.]

Kind regards,
Thomas
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Euphemism

Post by *Clo »

2ghisler(Author)

:) Good evening,
That's not a Total Commander bug, MS just forgot some characters in "MS Sans Serif"...
• OMG ! “some characters” is a sweet euphemism !

29 upper ANSI characters are missing in that font ! :lol:

- Some parts of the programme use that hellish internal font you use for programming ( i.e. the drive hints…)
and it's impossible to write that one wishes properly…
• What about the Dina font for the programme-scripts ?
It's suitable, free, and though it supports only sizes 8 and 10 IIRC, this is not a big deal…

:mrgreen: VG
Claude
Horse-Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

2Clo

Hm, I also like the Dina font and use it already quite a while in my programming Editor.

But isn't Dina a monospace font? This might look a bit weird in Dialogs, plus it would need more room because even an 'l' occupies the full character width. But perhaps there exists a proportional version of Dina, too, I don't know that...
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

For years…

Post by *Clo »

2StickyNomad

:) Hello !

• AFAIK, it is a fixed font, so usable at programming
- This is not the point to use it for the dialogues, but simply to get a complete font in some locations
where the internal programming font springs up because any user-chosen font is not applied there.

• Currently like I said above, we might have Microsoft Sans Serif as the default font…
Under Win 9x, it can be replaced with Arial (complete) which exists even in Win3.1…
Use the [FontSubstitutes] section in <Win.ini>
- The most good plugins now are using it, or Tahoma we requested for some ones,
so we have no more font issues with them…
- I mean : As the internal scripts font, when the interface font is not configurable (that's rare for plugins).

     Sigh…

:mrgreen: VG
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Hacker
Moderator
Moderator
Posts: 13065
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Clo,
it is a fixed font, so usable at programming
the internal programming font springs up because any user-chosen font is not applied there.
Ahem, I am fairly confident that the default font and the font used when programming are two totally unrelated fonts.

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
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

2Clo

Hm, I assume you meant 'hardcoded' font (=MS sans serif) when you said 'programming font', right?
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Tout à fait !

Post by *Clo »

2StickyNomad

:) Again…

- Yes, of course, indeed, naturally, obviously…

- For that purpose, Dina is much better !

:mrgreen: VG
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Same!

Post by *Clo »

2Hacker

:) Hello Roman !

• As far as I can see, the font in the resource-scripts and the one you get using a blank INI are both the MS Sans Serif crap…

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
Post Reply