[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: Wed, 22 Aug 2012 22:10:10 +0200

On 2012-08-22 21:49, Stefan Küng wrote:
> On 21.08.2012 21:52, Oto BREZINA wrote:
>> 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.
We can keep that for 1.8 only.
>> 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?
> So should we convert all ANSI files as well?
> Or maybe just convert it if the other file has been converted or is in a
> different encoding?
I thought that best would be to convert ASCII to UTF8 If encoding
differs. ASCII-ASCII and UTF8-UTF8 should be ok as is, ASCII-UTF8 is
problem.
>
> Stefan
>

-- 
Oto ot(ik) BREZINA - 오토
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3000251
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-08-22 22:10:46 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.