You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Arthur de Jong <ad...@tigris.org> on 2007/09/21 20:04:02 UTC

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

On Fri, 2007-09-21 at 17:13 +0200, Erik Huelsmann wrote:
> 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...

Thanks for the clarification. It turns out that there were probably non
UTF-8 log messages coming from a conversion from CVS that triggered the
original report.

Anyway, having the encoding explicitly in the XML declaration (original
request in the issue) could avoid further confusion. I more or less
assumed that since svn log was locale-dependant, svn log --xml would
also be.

-- 
-- arthur - adejong@tigris.org - http://ch.tudelft.nl/~arthur --

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