report bug about compare file content

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
cnnnc
Junior Member
Junior Member
Posts: 30
Joined: 2007-05-21, 01:31 UTC

report bug about compare file content

Post by *cnnnc »

I'm a Chinese.
one day I compare two textfiles include Chinese language characters,
it's some differents, and I like to edit one file's character, but error occured when I inputing the new character. It's showed in unexpected.
I don't know if somebody else has encounter this problem, but it's just a problem trouble me.
haibinpro
Junior Member
Junior Member
Posts: 66
Joined: 2005-10-21, 04:55 UTC
Location: china

Post by *haibinpro »

Report you OS and TC version.
2nd,It's better to attach a pic here to show the wrong messenger the program give.It will help the team to find the problem out.
______________________
#147708 Personal licence
cnnnc
Junior Member
Junior Member
Posts: 30
Joined: 2007-05-21, 01:31 UTC

Post by *cnnnc »

My OS is Windows XP home edition Simplified Chinese without any SP
MY TC is Total Commander 7.0 release candidate 5

Chinese-Character is Double-Byte-Character.
when I input a Chinese-Character:
1. it's no show what my want it's show, though the value is right
2. and the cursor move only one byte, not move to the end of the Chinese-Character, then if I input more Chinese characters, the value go wrong.

e.g.

I input a Chinese-Character, it's hex value is 'CE C4',
then I input another hex value is 'BC FE' of Chinese-Character,
the whole string's hex value is 'CE BC FE C4',
not I expect - 'CE C4 BC FE'.
and the third - 'BC D0', the whole value is 'CE BC BC D0 FE C4',
not I expect - 'CE C4 BC FE BC D0'.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I can confirm what you describe, and I have written a fix for the problem. You are right, the character is added correctly, but the cursor is moved by only one byte, not 2.

Therefore the second character is inserted at the wrong location in the file. This also causes problems with the UNDO function.

Please contact me by e-mail for a test version to fix this problem. I'm sending you this message also by e-mail.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This should be fixed in TC7 final - please check!
Author of Total Commander
https://www.ghisler.com
cnnnc
Junior Member
Junior Member
Posts: 30
Joined: 2007-05-21, 01:31 UTC

Post by *cnnnc »

Yes, it's fixed.
THX,ghisler(Author)!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Great, thanks for your very responsive help (by e-mail) with this problem!
Author of Total Commander
https://www.ghisler.com
Post Reply