Re: svn commit: r24721 - trunk/tools/server-side
On Tue, 24 Apr 2007, Malcolm Rowe wrote:
> On Mon, Apr 23, 2007 at 11:54:06AM -0700, email@example.com 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.
> > --- trunk/tools/server-side/fsfs-reshard.py (original)
> > +++ trunk/tools/server-side/fsfs-reshard.py Mon Apr 23 11:54:05 2007
> > @@ -1,4 +1,5 @@
> > #!/usr/bin/env python
> > +# -*- coding: utf-8 -*-
> > #
> > # fsfs-reshard.py REPOS_PATH MAX_FILES_PER_SHARD
> > #
> 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).
Received on Tue Apr 24 17:49:10 2007
- application/pgp-signature attachment: stored
This is an archived mail posted to the Subversion Dev