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

Re: Convert cmdline args to UTF-8 all at once at program start?

From: Branko Čibej <brane_at_xbc.nu>
Date: 2006-02-10 15:46:27 CET

C. Michael Pilato wrote:
> 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.
>>
>
> I've not seen Paul's change, but does this cause any misinteraction with
> a commandline like:
>
> svn commit -m <Shift-JIS log message> --encoding Shift-JIS ...
>
> Seems a native-to-UTF-8 conversion of that log message is likely to fail
> unless Shift-JIS (in this case) is the native encoding.
>
Doesn't --encoding only affect log messages pulled from files with -F? I
can't imagine how mixed encodings on the command line would work in general.

-- 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 15:47:51 2006

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.