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

RE: problems with mimetype of and empty utf8 files in svn 1.7

From: Bert Huijben <bert_at_qqmail.nl>
Date: Fri, 21 Oct 2011 13:20:49 +0200

> -----Original Message-----
> From: Daniel Shahaf [mailto:d.s_at_daniel.shahaf.name]
> Sent: vrijdag 21 oktober 2011 13:13
> To: Tomáš Bihary
> Cc: dev_at_subversion.apache.org
> Subject: Re: problems with mimetype of and empty utf8 files in svn 1.7
>
> What do you expect to happen?
>
> As to special-casing svn_io_is_binary_data() to handle 0xEFBBBF
> correctly... we could do that, I suppose.

+1
AnkhSVN currently has its own code to remove the binary marking from these specific files.

Some 3th party Visual Studio features like to add empty files and then later fill them with the real data.

This leaves the case where you have just a few characters in a file where you have a BOM at the start, but for our users that case is far less common than this empty file case.

        Bert
Received on 2011-10-21 13:21:27 CEST

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