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

Re: [PATCH] Use a short date format in "blame -v"

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-09-03 22:42:20 CEST

Julian Foad wrote (seven months ago):
>
> In fact, testing what "svn list -v" does in other locales, I get:
>
> ~/src/subversion> LC_TIME="de_DE" svn ls -v apr
> 125349 mturk 82521 Jan 16 07:30 CHANGES
> 109914 rooneg 16011 Dez 05 21:34 LICENSE
> [...]
>
> which again doesn't match GNU "ls" in that locale, and:
>
> ~/src/subversion> LC_TIME="fr_FR" svn ls -v apr
> 125349 mturk 82521 jan 16 07:30 CHANGES
> /home/julianfoad/src/subversion/subversion/libsvn_subr/utf.c:454:
> (apr_err=22)
> svn: Valid UTF-8 data
> (hex: 64)
> followed by invalid UTF-8 sequence
> (hex: e9 63 20 30)
>
> Is that just because my system isn't configured properly for French, or
> a bug? It's trying to print 'd', e-acute, 'c', but the e-acute is not
> in UTF-8.

For the record, I think that was my mistake. My console is set up for
displaying UTF-8, so I think I need to specify the locale "fr_FR.utf8" instead
of just "fr_FR". That works, printing the month names in French with correct
accents.

~/tmp/sandbox> LC_TIME="fr_FR.utf8" svn ls -v ~/src/subversion/apr
  125349 mturk 82521 jan 16 2005 CHANGES
  109914 rooneg 16011 déc 05 2004 LICENSE
...

So, no problem there.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 3 22:43:06 2005

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