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

Re: svn di -x-p: Valid UTF-8 sequence in function name is incorrectly divided

From: Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA_at_GMail.Com>
Date: Sat, 24 Jan 2009 05:59:52 +0100

2009-01-24 05:48:28 Arfrever Frehtes Taifersar Arahesis napisał(a):
> 2009-01-18 20:07:41 Arfrever Frehtes Taifersar Arahesis napisał(a):
> > `svn di -x-p` sometimes incorrectly divides UTF-8 characters in function names:
> >
> > $ ./subversion-invalid-UTF-8-sequence.sh
> > + rm -fr repo wc
> > + svnadmin create repo
> > ++ pwd
> > + svn co file:///home/Arfrever/repo wc
> > Checked out revision 0.
> > + cd wc
> > + cat
> > + svn add file.c
> > A file.c
> > + svn ci -m ''
> > Adding file.c
> > Transmitting file data .
> > Committed revision 1.
> > + sed -i -e 's/d/d = 1/' file.c
> > + svn di -x-p
> > Index: file.c
> > ===================================================================
> > --- file.c (revision 1)
> > +++ file.c (working copy)
> > @@ -3,5 +3,5subversion/libsvn_subr/utf.c:597: (apr_err=22)
> > svn: Valid UTF-8 data
> > (hex: c5 bc c5 bc c5 bc c5 bc c5 bc c5 bc c5 bc c5 bc c5 bc c5 bc c5 bc c5 bc)
> > followed by invalid UTF-8 sequence
> > (hex: c5 0a)
> > + set +x
>
> I'm attaching the patch which fixes this problem.
> http://en.wikipedia.org/wiki/UTF-8#Description contains some helpful informations.

I'm attaching the new patch which fixes missing parenthesis.

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2009-01-24 06:01:17 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.