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

Crash on file names containing invalid UTF-8 sequence

From: Felix Wiemann <Felix.Wiemann_at_gmx.net>
Date: 2005-06-19 16:30:06 CEST

When there's an unversioned file whose name contains an invalid UTF-8
sequence, Subversion crashes:

$ echo $LC_ALL
en_US.utf8
$ svn st -q
$ touch `echo subversion.äöü | recode utf8..latin1`
$ svn st -q
svn: Valid UTF-8 data
(hex: 73 75 62 76 65 72 73 69 6f 6e 2e)
followed by invalid UTF-8 sequence
(hex: e4 f6 fc)

This is unnecessary because the file is unversioned anyway.
Furthermore, the error message is not particularly helpful.

-- 
For private mail please ensure that the header contains 'Felix Wiemann'.
"the number of contributors [...] is strongly and inversely correlated with the
number of hoops each project makes a contributing user go through."      -- ESR
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jun 19 16:32:29 2005

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.