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

Re: svn commit: rev 4551 - trunk/subversion/clients/cmdline

From: <philip_at_codematters.co.uk>
Date: 2003-01-24 13:50:56 CET

Greg Hudson ghudson@MIT.EDU writes:

 On Thu, 2003-01-23 at 19:10, philip@tigris.org wrote:
  Patch from Fumitoshi UKAI ukai@debian.or.jp. Passing something
  that is already a cstring through a UTF-8 to cstring conversion can
  produce rubbish.
 It can? Any ASCII string is necessarily a UTF-8 string. I'm curious
 what's going on here.

It's native, not ASCII.

 (And, you have been deceived into using the wrong terminology by
 confusingly-named svn_utf functions. A cstring can hold UTF-8 or
 native-charset data.)

OK, I'll correct the log message:

Patch from Fumitoshi UKAI ukai@debian.or.jp. Passing a native
string through UTF-8 to cstring conversion can produce rubbish if the
native string contains non-ASCII characters.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02: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.