[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Bug: svn:mime-type and svn:eol-style on UTF-16 XML files

From: <Servatius.Brandt_at_fujitsu-siemens.com>
Date: 2005-08-24 12:40:13 CEST

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 prevents the "svn
diff" command from working. The problem is on a Windows system, and the
file has CRLF line endings.

2nd problem:

To work around the first problem, I can change the svn:mime-type to
then the "svn diff" works fine. But it is not possible to set the
svn:eol-style to CRLF, which is the line endings style used by the file.

- Servatius

Servatius Brandt Phone: +49 89 636-41504
Fujitsu Siemens Computers Fax: +49 89 636-48716
EP SW AD C++ Email: Servatius.Brandt@fujitsu-siemens.com

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 24 12:40:54 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.