Julian Foad wrote:
> Paul Burba has just sent a patch to do native-to-UTF-8 conversion of
> command-line arguments right at the start of the program, before
> argument processing. That's because our argument processing assumes
> an ASCII subset for all the strings it needs to match, but he's
> converting from EBCDIC.
>
> So, is there any reason we can't do the native-to-UTF-8 conversion
> once and for all at program start, on all systems, and remove all the
> bits and pieces of conversion that we are presently applying at later
> stages?
>
> It seems to me that this would make the program neater, because it
> would just be a single call, and more robust, because we wouldn't be
> able, as we are now, to forget to do the conversion for some arguments
> or parts thereof.
+1.
And if we use apr_app_initialize instead of apr_initialize, we can even
do away with this conversion on (NT-class) Windows, because APR will do
that for us. :)
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 10 01:45:54 2006