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

Re: Bug: TortoiseMerge corrupt iso8859-1 encoded files

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 12 Sep 2008 22:13:15 +0200

Paulo Eduardo Neves wrote:
> It looks like this is a similar issue to this discussion:
> http://groups.google.com/group/tortoisesvn/browse_thread/thread/cc52fc4c02a98710
>
> When TortoiseMerge opens a big iso8859-1 encoded file and the first
> accented letter is far from the begining of the file, all the accents
> in the files disappear. The output file is corrupted.
>
> If the first accent is in the beginning of the file, no corruption
> happens.
>
> I have some 3 files here that reproduce the error. Just open them in
> TortoiseMerge that the accents disappear. Ask me privately that I
> send them. I can also open an issue with them (you asked to report it
> here first).

Thanks for the report. This was actually intended to speed the file
encoding detection up a little bit: the check was made to only scan the
first 10kb of a file. I never thought this would cause problems. Sorry,
my fault.

Fixed in r13938.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-09-12 22:13:25 CEST

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