You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ville Lehtiniemi <gu...@silppuri.iki.fi> on 2005/07/22 09:29:09 UTC

Keyword expansion and locale

Hi,

I just upgraded to subversion 1.2 (windows 2000 client) and noticed new
unpleasant feature with $LastChangedDate$ keyword expansion. It follows
locale, thus inserting UTF-8 characters into expanded string. This is
not very nice, considering that my source files are not UTF-8.

Here's example with finnish locale settings on windows:
$LastChangedDate: 2005-07-22 11:04:20 +0300 (pe, 22 heinä 2005) $
                                                         ^
                                                   a with dots

I did find a related issue about this
http://subversion.tigris.org/issues/show_bug.cgi?id=2332
but seems that no solution is proposed in near term?

How about making an option in the client config file which forces the 
client to use specific character set or locale when expanding keywords? 
I would be very happy if I could just force the client to output ASCII 
compliant characters and english text when expanding keywords.

It wouldn't be a complete solution to the problem (files with different
encodings in the repository, one setting can't suit them all...) but in
the near term it would be "good enough" until better one is found.

-- 
Ville Lehtiniemi


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org