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

RE: file is binary even when svn:mime-type even when mime-attribute charset is set

From: Johan Corveleyn <johan.corveleyn_at_uz.kuleuven.ac.be>
Date: Fri, 9 Oct 2009 15:45:07 +0200

> Van: Mike Samuel [mailto:mikesamuel_at_gmail.com]
>
> Re http://svnbook.red-bean.com/en/1.1/ch07s02.html
> For example, if a file's svn:mime-type property is set to a
> non-text MIME type
> (generally, something that doesn't begin with text/, though there
> are exceptions),
> Subversion will assume that the file contains binary—that is, not
> human-readable—data. One of the benefits that Subversion typically
> provides
> is contextual, line-based merging of changes received from the server
> during
> an update into your working file
>
> Where are these exceptions listed?
>
> Can this rule be changed so that any mime-type that specifies a charset, e.g.
> application/xml+xsl;charset=UTF-8
> image/svg+xml;charset=UTF-8
> is recognized as text since a charset indicates that lines can be identified
> by
> decoding using that charset and looking for the appropriate code points.

I think it's currently hard-coded, unchangeable.
FYI, there is an open issue about this in the SVN bug database: http://subversion.tigris.org/issues/show_bug.cgi?id=1002

Regards,
Johan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2405536

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-09 15:46:01 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.