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

Re: svn commit: r24721 - trunk/tools/server-side

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-04-24 19:41:33 CEST

On Tue, Apr 24, 2007 at 08:48:34AM -0700, Daniel Rall wrote:
> > > Inform Python to use a UTF character set, since the $LastChangedDate$
> > > keyword is expanded to non-ASCII characters in environments with
> > > multi-byte character sets.
> > >
> > Ah, I didn't realise Python actually interpreted those comments as well.
> >
> > However: how do we know that the user's locale is UTF-8?
>
> No, but it has a much better chance of working than plain ASCII (which
> is a subset of UTF-8).

Good point. I guess the only ways to solve this properly are:

a. Remove the LastChangedDate keyword from this file,
b. Restrict the LastChangedDate to US English/ASCII (yuk), or
c. Provide some way to inform Subversion about the encoding of the file.

I'm pretty sure we already have an issue for this :-)

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Tue Apr 24 19:41:45 2007

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

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