> -----Original Message-----
> From: Daniel Shahaf [mailto:[email protected]]
> Sent: vrijdag 21 oktober 2011 13:13
> To: Tomáš Bihary
> Cc: [email protected]
> 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