[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 21 Oct 2011 13:13:00 +0200

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.

Tomáš Bihary wrote on Fri, Oct 21, 2011 at 11:15:19 +0200:
> Hello,
>
> after upgrading the svn 1.7 I realized an issue.
>
> When I add an empty UTF-8 file, it is added with mimetype
> application/octet-stream
> The empty UTF8 file has 3 bytes size - there are just the 3 mark
> bytes 0xEF 0xBB 0xBF
>
> If there is an content in that file, it is handled correctly like text.
>
> I've found a similar issue 2194 with UTF-16 files which status is REOPENED.
>
> Regards
> Tomas
Received on 2011-10-21 13:15:11 CEST

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