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

Re: svnadmin dump - Erroneous UTF-8 encoding with binary files

From: Stefan Sperling <stsp_at_elego.de>
Date: Sun, 10 May 2009 21:23:35 +0100

On Sun, May 10, 2009 at 09:21:41PM +0200, Frédéric Hébert wrote:
> Back to the dev server I have made some tests, and it seems to me that
> encoding errors are due to the presence of binary files in the dump, eg
> files with svn:mime-type property set to application/octet-stream.
> For example, my django project contains pure plain text in
> 'trunk/templates' and images in 'trunk/media/images' :
>
> dev-server~:$ svnadmin dump -r 33
> /var/svn/enseignements-dev.ehess.fr/ |\
> svndumpfilter include 'trunk/templates' > \
> /tmp/svn_enseignements_r33_nobinary.dump

Do I understand correctly that you propose that Subversion
applies the wrong mime-type settings to your text files,
using the mime-type setting of unrelated binary files for text files?

Have you tested what happens when you set the mime-type on text files
to 'text/plain' explicitly? It would be interesting to see if this
fixes the problem.

Stefan
Received on 2009-05-10 22:25:15 CEST

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.