Safe data followed by non-ascii byte xxx
From: <mathieu.vanbelle_at_recordgroup.be>
Date: Tue, 1 Apr 2008 15:26:24 +0200
Hello,
I already found several mails related to this error, but no solution yet.
I'm using Subversion 1.4.6 ; the server is a Linux Red Hat server, while the clients are HP-UX 11.23 servers.
But from the HP-UX server, if I do a 'svn log' on this filename for instance, I receive the following error (repository test, filename 'spécial') :
Note that 'é' is 233 in ISO-8859 ; in UTF-8 it should be something like 195 169. Depending on the operation I do (data from client to server, or from server to client - for instance a checkout), the non-ascii byte is sometimes 233, sometimes 195.
So this seems to be linked to a conversion problem from the locale to UTF-8.
(The error comes from the 'utf.c' source, in check_non_ascii ; but I guess this is only a consequence of a bad conversion earlier, maybe in a call to apr_xlate_conv_buffer in function convert_to_stringbuf (?).)
What's wrong ?
Kr,
-----------------------------------------------------------------
Messages and attachments are scanned for all viruses known.
|
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.