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

Re: Prevent mod_dav_svn REPORT log failure if files under $REPOS/db/revprops/ are not in UTF-8 encoding

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 18 Nov 2010 05:27:23 +0200

LiuYan 刘研 wrote on Thu, Nov 18, 2010 at 02:53:37 +0000:
> Daniel Shahaf <d.s <at> daniel.shahaf.name> writes:
>
> >
> > Stefan Sperling wrote on Wed, Nov 17, 2010 at 18:13:44 +0100:
> > > On Wed, Nov 17, 2010 at 03:06:19PM +0000, LiuYan 刘研 wrote:
> > > > I mean, if the revprops files are not in UTF-8 encoding, don't return
> REPORT
> >
> > Small correction: it's meaningless to talk about the encoding of the
> > revprop files; it's only meaningful to talk about the encoding of the
> > value of a given property.
> >
> > (At the revprop files level, the values are binary, and the rest of the
> > data in those files is always ASCII.)
> >
> >
>
> You're right Daniel, but in such situation, these revprop files can be treated
> as readable text files:

This is simply not true: if you apply 'iconv -f latin1 -t utf-8' to
a revprop file, you will CORRUPT that revprop file.
Received on 2010-11-18 04:30:34 CET

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.