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

Re: Adding Unicode files erroneously applies application/octet mime type

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Mon, 9 May 2011 15:54:02 -0500

On May 9, 2011, at 13:49, Bob Archer wrote:

> It seems when I "svn add" unicode (UCS-2 Little Endian, I think it is) files svn applies the svn:mime-type of application/octet to the files.

Correct.

http://subversion.tigris.org/issues/show_bug.cgi?id=2194

> My question is, if I remove the property and just commit the file... are diff and merge operations going to work fine?

I highly doubt it.

> Or, should I switch to plain ascii encoding?

If your files can be represented in ASCII, by all means do that. If you need non-ASCII characters, consider using UTF-8 instead of UTF-16.
Received on 2011-05-09 22:54:33 CEST

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

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