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

Re: UTF-8 problem

From: Stephane Magnenat <stephane.magnenat_at_epfl.ch>
Date: 2004-08-18 23:29:15 CEST

Hello,

Thanks for helping,

> The error message it starts with the hex bytes 89 45 f8 83
>
> $ touch wc/`printf "\x89\x45\xf8\x83zzz"`
> $ LANG=en_GB.UTF-8 svn st wc
> ../svn/subversion/libsvn_subr/utf.c:268: (apr_err=22)
> svn: Valid UTF-8 data
> (hex:)
> followed by invalid UTF-8 sequence
> (hex: 89 45 f8 83)
>
> Try using a 8859-1 locale.
>
> $ LANG=en_GB svn st wc
> ? wc/ ø zzz

Ok, I'll try this tomorow, but the fact is that there is no 89 char in the
whole subtree concerned in which svn operates. You can try to search for 0x89
in the dirlist that was attached in my previous mail but you'll find none.

So my supposition is that svn has a bug when locales are set to utf-8 and
detects buggy utf-8 files even if there is none.

Is it possible to print which file or directory causes the error. I tried -v
but it doesn't seems to help much ?

Thanks,

Stephane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 18 23:29:47 2004

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.