Ben Collins-Sussman wrote:
> * our application's main() calls setlocale(LC_ALL, locale) if
> --locale is passed by the user. This officially sets the locale
> for our process.
Tried this out with a small local modification. This also has the
local modification to the log output, that has not been committed
yet. I just allowed the --locale option on the subcommand log.
See this:
naked@oro:~/src/subversion/svn$ svn log -rHEAD
------------------------------------------------------------------------
rev 2463: jerenkrantz | 2002-07-10 22:40:21 +0300 (Wed, 10 Jul 2002) | 3 lines
naked@oro:~/src/subversion/svn$ svn log --locale fi_FI -rHEAD
------------------------------------------------------------------------
rev 2463: jerenkrantz | 2002-07-10 22:40:21 +0300 (ke, 10 heinä 2002) | 3 lines
Woowoo!
Then:
naked@oro:~/src/subversion/svn$ LC_TIME=fi_FI svn log -rHEAD
------------------------------------------------------------------------
rev 2463: jerenkrantz | 2002-07-10 22:40:21 +0300 (Wed, 10 Jul 2002) | 3 lines
naked@oro:~/src/subversion/svn$ LC_TIME=fi_FI svn log --locale "" -rHEAD
------------------------------------------------------------------------
rev 2463: jerenkrantz | 2002-07-10 22:40:21 +0300 (ke, 10 heinä 2002) | 3 lines
If you don't understand why this is, take a peek at the source, it
will come clear. This is not to say that the rationale there couldn't
be questioned.
But anyway, just a brief sample of things to come.
-- Naked
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 11 00:20:58 2002