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

Re: Character display problem in working copy window

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-10-12 20:51:00 CEST

Mike Grandmaison wrote:
> The copyright char appears correct in the left window but in the
> right an extra character is displayed. The lines are not indicated
> as different which is correct but they are displayed differently.
>
> If there is some other way I should report this bug please let me
> know.

If you have some keywords in your file, then that's the reason. Usually
the $Date$ keyword causes problems:

your file is saved in utf8 format. But the expanded $Date$ (or maybe
some other keyword) gets expanded in the local codepage (not utf8).

The problem now is that TortoiseMerge scans the files to detect the
encoding of the file. The expanded keyword is not in utf8 format and
usually represents some illegal char combination for utf8. So
TortoiseMerge uses the local codepage to show that file.
The base file however doesn't have the keywords expanded and therefore
is a valid and proper utf8 file. And TortoiseMerge shows it as utf8
encoded (that's why you see it correctly).

There's not much we can do about that. I think there's an issue open in
the Subversion issue tracker which would allow to set the encoding of
the keywords, but that won't make it into 1.5 or even 1.6.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Oct 12 20:51:36 2007

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.