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

Keyword expansion and locale

From: Ville Lehtiniemi <guderian_at_silppuri.iki.fi>
Date: 2005-07-22 11:29:09 CEST

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
Received on Fri Jul 22 11:37:30 2005

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

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