You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andreas Pakulat <ap...@gmx.de> on 2007/09/16 23:00:42 UTC

Encoding of author, message and other fields

Hi,

I can't find this information in the api docs or the svn book. Which
encoding does subversion use to return author, message and other const
char* fields when using the subversion API?

Does the svn API always use utf8 for all string parameters?

Andreas

-- 
You will probably marry after a very brief courtship.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Encoding of author, message and other fields

Posted by Andreas Pakulat <ap...@gmx.de>.
On 17.09.07 15:59:09, Erik Huelsmann wrote:
> On 9/17/07, Andreas Pakulat <ap...@gmx.de> wrote:
> > Hi,
> >
> > I can't find this information in the api docs or the svn book. Which
> > encoding does subversion use to return author, message and other const
> > char* fields when using the subversion API?
> >
> > Does the svn API always use utf8 for all string parameters?
> 
> Subversion uses UTF-8 throughout it's API as the only encoding
> supported. Please convert user input to UTF-8 before passing it to the
> API routines.

Very good, thanks for clearing my doubts :)

Andreas

-- 
You will become rich and famous unless you don't.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Encoding of author, message and other fields

Posted by Erik Huelsmann <eh...@gmail.com>.
On 9/17/07, Andreas Pakulat <ap...@gmx.de> wrote:
> Hi,
>
> I can't find this information in the api docs or the svn book. Which
> encoding does subversion use to return author, message and other const
> char* fields when using the subversion API?
>
> Does the svn API always use utf8 for all string parameters?

Subversion uses UTF-8 throughout it's API as the only encoding
supported. Please convert user input to UTF-8 before passing it to the
API routines.

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org