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

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

From: Mike Samuel <mikesamuel_at_gmail.com>
Date: Thu, 8 Oct 2009 15:27:16 -0700

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.

cheers,
mike

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-09 01:21:26 CEST

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