Servatius.Brandt@fujitsu-siemens.com wrote:
>1st problem:
>
>I have an XML file in UTF-16 encoding, little endian. It starts with
>a BOM FFFE at the beginning of its first line, which is:
>
><?xml version="1.0" encoding="UTF-16"?>
>
>The "svn add" command sets the property svn:mime-type to
>application/octet-stream. I consider this a bug.
>
It's not a bug. Subversion doesn't support UTF-16 as text; this feature
simply hasn't been implemented yet.
>2nd problem:
>
>To work around the first problem, I can change the svn:mime-type to
>text/xml,
>then the "svn diff" works fine.
>
Only if you're lucky.
> But it is not possible to set the
>svn:eol-style to CRLF, which is the line endings style used by the file.
>
>
You don't have to set svn:eol-style if keeping the file contents
unchanged is sufficient.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 24 17:08:05 2005