[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: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2006-02-10 15:11:18 CET

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.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Fri Feb 10 15:13:23 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.