[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-08-18 18:45:27 CEST

Stéphane Magnenat <stephane.magnenat@epfl.ch> writes:

> On Wednesday 18 August 2004 18.19, Philip Martin wrote:
>> Stéphane Magnenat <stephane.magnenat@epfl.ch> writes:
>> > nct@lsa2pc31:~/data/project/lsa2$ svn status
>> > ? svn_io_get_dirents
>> > 337 337 markus .
>> > svn: Valid UTF-8 data
>> > (hex:)
>> > followed by invalid UTF-8 sequence
>> > (hex: 89 45 f8 83)
>>
>> You have a file or directory in your working copy that has a name that
>> is not valid UTF-8, if you move it out of your working copy Subversion
>> will stop complaining. It would be better if "svn st" continued after
>> issuing a warning, rather than stopping.
>
> It is strange because I do not see any that could be a candidate. Is there a
> way to know which one is the problem ?

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

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 18 18:45:56 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.