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

Re: Text mime types

From: Nicolas Goutte <nicolasg_at_snafu.de>
Date: 2005-06-06 14:18:31 CEST

On Monday 06 June 2005 14:09, Martin Probst wrote:
> Hi,
>
> > However there are also many textual mime types that starts with
> > application like application/xhtml+xml
>
> I ran into this with application/xml. The MIME-type is by the way in my
> opinion correct, as stuff like XML or XHTML is only partially usable for
> humans.
>
> The annoying thing about that is that there is no possiblity to override
> subversions behaviour, at least none that I know of. E.g. "svn diff" on
> a "application/xml" file always refuses to work, and there is no --force
> switch or something similar.
>
> It should be either (client side?) configurable which MIME-types are
> considered binary, or at least a --force-text switch, or better both.

I do not think that it should be client side (only) It must be file-by-file.

Because there is also the reverse problem taht a text file should not be
processed, for example a UTF-16 text/html (Or Subversion must check if a file
is in UTF-16 or UTF-32 and put the conflict marks in that encoding, which as
far as I understand, is not done currently.)

>
> Issue 1002 covers the client side configure part, but not the --force-text.

Yes but a client list is not the ultimate solution. There will always be
exceptions.

>
> Regards,
> Martin

Have a nice day!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 6 14:52:27 2005

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.