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

Re: [Issue 2938] "svn log --xml" output should include encoding information

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-09-21 17:13:27 CEST

On 9/21/07, Malcolm Rowe <malcolm-svn-dev@farside.org.uk> wrote:
> On Fri, Sep 21, 2007 at 02:35:09PM -0000, adejong@tigris.org wrote:
> > ------- Additional comments from adejong@tigris.org Fri Sep 21 07:35:09 -0700 2007 -------
> > Are you saying that svn log --xml always produces output in UTF-8? I was under
> > the impression that it didn't but I haven't looked at the code.
> >
>
> This is actually a good question. I know (or at least, I think I know)
> that svn:* properties (including the svn:log revprop) are UTF-8 by
> definition, but I'm not sure what the output of 'svn log --xml' (or any
> other command-line tool XML output) is supposed to be: UTF-8, or
> platform native.
>
> Anyone?

The normal output should be platform-locale, but all XML output is
supposed to be UTF-8. I say supposed, because Subversion assumes UTF-8
data everywhere and doesn't verify in all places that it actually *is*
UTF-8. So, if an svn:log property doesn't contain valid UTF-8, svn log
--xml won't output valid UTF-8...

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 21 17:13:38 2007

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.