[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [T-Mege bug] Comparing UTF8 and ASCII files shows changes on lines with non ASCII chars

From: Oto BREZINA <otik_at_printflow.eu>
Date: Tue, 21 Aug 2012 21:52:35 +0200

On 2012-08-21 21:07, Stefan Küng wrote:
> On 21.08.2012 15:32, Oto BREZINA wrote:
>> I added mergediff/Schiller'sGlocke_baseU8.txt.
>>
>> If you diff it with previous version or
>> mergediff/Schiller'sGlocke_baseU.txt (source of U8 vesrion) you can see
>> changed lines where sharp s is used.
>> This seems be problem that diff is run on ASCII vs. UTF8 file instead if
>> UTF8 - UTF8.
> Actually, it's when comparing Schiller'sGlocke_base.txt with
> Schiller'sGlocke_baseU8.txt.
>
> Comparing Schiller'sGlocke_baseU.txt with Schiller'sGlocke_baseU8.txt
> seems to be fine.
>
>> I can fix this, but maybe you want to add it to issue tracker and merge
>> to 1.7 as this bug is there too.
> I don't think that's a bug: the lines *are* different, they are only
> *shown* the same way due to the different encoding. But the lines are
> different.
Ok, I see Logic here.
However when you compare UTF16 to UTF8 then you don't see this encoding
change as line difference ...
With CRLF handling this become even more visible ... Let say one is CRLF
Ascii and other UTF8. I guess no difference will be shown.
Bit uncosistence. Isn't it?

> Stefan

-- 
Oto ot(ik) BREZINA - 오토
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2999993
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-08-21 21:52:55 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.