Umlaute with "Compare files"

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
Matthias Wolff
Junior Member
Junior Member
Posts: 3
Joined: 2007-02-18, 15:24 UTC

Umlaute with "Compare files"

Post by *Matthias Wolff »

Hello,

I have two files:

contents 1: xüüx
contents 2: xüx

ü = hex code 81

When I compare these files with TC 7.00 RC 1 (Windows Vista) or TC 6.56 with compare files I get the result

left side: xx
right side: xx

where the first x ist black and the second one red.

Best regards
Matthias Wolff
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

OS: WinXP Prof. SP1, ger.
TC: T.C. 7.0rc1 + T.C. 6.56

Files:
uml1:

Code: Select all

xüüx
uml1:

Code: Select all

xüx
Compare result of T.C. internal compare tool:
uml1: 1:üx
uml2: 1:x
Which seems correct to me.

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

Post by *petermad »

I get the same results as karlchen (Win XP SP2)

ü = hex code 81
That was back in the days of DOS ASCII coding that ü = hex 81 IIRC.

In Windows ü = hex FC = "Latin Small Letter U With Diaeresis"
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
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

As petermad mentioned it, DOS ü = 0x81, Ansi ü = 0xfc, I made extra sure I did use the right DOS code 0x81 (129 dec). I did.

So inside the T.C. compare window you will see a little square instead of th "ü", unless ..

Maybe the issue occurring with T.C. compare on Vista is related to the issue reported here and Christian's assumption: National chars in Vista and TC??

Karl
Last edited by karlchen on 2007-03-29, 08:56 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

So inside the T.C. compare window you will see a little square instead of th "ü".
Unless you use a font like "Terminal" - then you will see ü's
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:

<Dina> does the trick

Post by *Clo »

2petermad

:) Hi Peter !

• You are right, such a situation needs to use a complete ANSI font !

• I performed a similar test successfully, I use “Dina”, a complete fixed font which is pretty convenient
(a font I got from an our_missing_Dear_icfu-friend's info… :cry: )

: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) »

This has nothing to do with Umlauts, you get the same with xaax and xax contents. Why? TC looks for insertions and deletions in strings. Single characters are ignored when re-synching, so the final 'x' is NOT matched. This is necessary to find entire word matches, and not single characters in inserted words.
Author of Total Commander
https://www.ghisler.com
Post Reply