You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "C. Michael Pilato" <cm...@collab.net> on 2007/09/21 14:53:12 UTC

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

Malcolm Rowe 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?

I guess I always assumed that our XML output was, as a rule, UTF-8
throughout.  I can't speak (right now) to the actuality, though.

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand


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

Posted by Malcolm Rowe <ma...@farside.org.uk>.
On Fri, Sep 21, 2007 at 10:53:12AM -0400, C. Michael Pilato wrote:
> > 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?
> 
> I guess I always assumed that our XML output was, as a rule, UTF-8
> throughout.  I can't speak (right now) to the actuality, though.
> 

Then for 'svn log', at least, it appears to DTRT: $LANG for 'svn log',
UTF-8 for 'svn log --xml'.

Regards,
Malcolm