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

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: Sun, 18 Jan 2009 20:07:41 +0100

`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

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2009-01-18 20:10:06 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.