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

Re: [PATCH] First cut at 1954 solution

From: <kfogel_at_collab.net>
Date: 2004-12-08 07:27:17 CET

VK Sameer <sameer@collab.net> writes:
> On Wed, 2004-12-08 at 03:26, Branko Čibej wrote:
> > VK Sameer wrote:
> >
> > >+ if (!svn_ctype_isutf8(path[i]))
> > >+ return svn_error_createf(SVN_ERR_FS_PATH_SYNTAX, NULL,
> > >+ "Invalid UTF8 character in '%s'",
> > >+ svn_path_local_style (path, pool));
> > >
> > Hmmm. "Invalid byte in UTF-8 sequence" would be closer to the mark;
> > there's no such thing as an UTF-8 character.
>
> RFC3629 (http://www.ietf.org/rfc/rfc3629.txt) uses that phrase:
>
> "Decoding a UTF-8 character proceeds as follows:"

Yeah, I also wondered what Brane meant by the assertion that there is
no such thing as a UTF-8 character :-). I assumed the definition was
the obvious one:

   A series of 1 to 4 bytes that represents a Unicode code point,
   using the encoding described by the UTF-8 specification.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 8 07:33:35 2004

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.