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

Re: Asking for documentation

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-11-03 19:41:10 CET

On 11/3/07, Philipp Marek <philipp@marek.priv.at> wrote:
> On Friday 02 November 2007 Karl Fogel wrote:
> > Philipp Marek <philipp@marek.priv.at> writes:
> > > Most of the path arguments (even the lock_tokens) can be assumed to be
> > > UTF-8; but is that true of the author, commit date and so on, too?
> > Yes, I would assume so. If not, it's probably an unintentional bug,
> > as UTF-8 is The Standard in Subversion's APIs.
> >
> > > I'd like to ask for a little clarification, possibly just a
> > >
> > > /* Every (char*) below is UTF8, except where explicitly noted. */
> > >
> > > at the top of the file.
> > That seems reasonable, yep. (Could you supply a patch?)
> Here you are:
>
> [[[
>
> * subversion/include/svn_ra.h: Clarify parameter encoding.
>
> ]]]
>
>
> Index: subversion/include/svn_ra.h
> ===================================================================
> --- subversion/include/svn_ra.h (Revision 27580)
> +++ subversion/include/svn_ra.h (Arbeitskopie)
> @@ -40,6 +40,10 @@ extern "C" {
>
>
> /* Misc. declarations */
>
> +/* All (char*) are encoded as UTF-8; all URL values are URI-encoded, ie.
> + * a '%' is represented as "%25". */

Is this true even of property names? (It's definitely not true for
prop values, but those are in svn_string_t's.)

--dave

-- 
David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 3 19:41:19 2007

This is an archived mail posted to the Subversion Dev mailing list.