[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: Arthur de Jong <adejong_at_tigris.org>
Date: 2007-09-21 22:04:02 CEST

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_at_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
Received on Mon Sep 24 23:18:19 2007

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