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

Re: TortoiseMerge bug - character encoding

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-01-12 18:10:28 CET

Rick Beton wrote:
> Hi all,
>
> I noticed that TMerge doesn't seem to auto-detect character encoding
> correctly. I have some XML files in UTF-8 (SVG, actually). TMerge
> correctly shows the differences, but there is a cosmetic failing in that
> the files are shown (I assume) in Latin1 encoding even though the files
> are UTF-8 - and say so at the top.
>
> A small improvement would be made if the files shown by TMerge are shown
> with the character encoding detected correctly, which is easy for XML
> files with a <?xml?> header.

You don't really expect to have TMerge know and parse all 'known' files
if they might have some encoding specified in them? Sure, for xml it's
publicly specified, but it still requires heavy parsing to get the
encoding from those files - maybe even a full xml parser.
TMerge is a simple diff utility, and it will stay that way. Sorry.

But there was a major improvement done recently in how TMerge detects
UTF8 files (even if they don't have the BOM in them). You can try a
nightly build.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Jan 12 20:53:06 2006

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

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