[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: Thu, 23 Aug 2012 13:35:01 +0200

On 2012-08-22 22:10, Oto BREZINA wrote:
> On 2012-08-22 21:49, Stefan Küng wrote:
>
>> 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.

BTW:

here is excerption from DiffData.cpp(r21366)
     // in case at least one of the files got converted, we have to
convert all of the files
     // otherwise one file might be in ANSI and the other in UTF8 and
we'll end up
     // with lines marked as different throughout the files even though
the lines
     // would show no change at all in the viewer.

I'm going to implement it

>
>> Stefan
>>
>>

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