[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: Daniel Rall <dlr_at_collab.net>
Date: 2007-04-24 21:49:16 CEST

On Tue, 24 Apr 2007, Malcolm Rowe wrote:

> 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

I'd also be fine with (a). I'm not a fan of spattering these keywords
all over our source files.

> c. Provide some way to inform Subversion about the encoding of the file.
>
> I'm pretty sure we already have an issue for this :-)

Me too.

  • application/pgp-signature attachment: stored
Received on Tue Apr 24 21:49:58 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.