On Jan 14, 2005, at 9:35 AM, Julian Foad wrote:
> Philip Martin wrote:
>> Do you need an encoding/escaping mechanism?
>>> ~/src/subversion> svn blame ~/tmp/sandbox/t --xml -v -r40:HEAD
>>> <?xml version="1.0" encoding="utf-8"?>
>> Does that make sense if the file contents are not UTF-8?
>
> Hmm. Tricky.
Related to that tricky situation -- various files on which blame is run
could have different encodings. I'd like to suggest you use functions
that you already have to transfer any encoding into UTF-8, but that
only works when you know the encoding of the file content and
Subversion does not have that information about file content, IIRC.
(And what is the receiving program to do? Does it want the original
content in whatever encoding was used, or would it prefer that
Subversion normalize the data into a single encoding?)
-Travis
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 14 20:08:13 2005