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

Re: Accent in file names, some new tests

From: Dave Neary <david_at_phenix.fr>
Date: 2004-09-29 09:44:02 CEST

Hi Ben,

Ben Collins-Sussman wrote:
> On Sep 28, 2004, at 3:08 PM, Loïc Joly wrote:
>> For reference, here is the error message :
>>
>>> ... was followed by non-ascii byte 195.
>>>
>>> Non-ascii character detected (see above), and unable to convert
>>> to/from UTF-8
>
> This means that *your* commandline client has a bug. Namely, it can't
> find the APR ICONV libraries to deal with different language encodings.
> Try setting your APR_ICONV_PATH environment variable correctly.

On a machine here (Windows), I have been able to reproduce this problem
quite easily:
C:\Documents and Settings\david\test\svn\trunk>echo %APR_ICONV_PATH%
C:\Subversion\iconv

C:\Documents and Settings\david\test\svn\trunk>svn rm codé.c
svn: Safe data:
"cod"
... was followed by non-ascii byte 233.
Non-ascii character detected (see above), and unable to convert to/from
UTF-8
C:\Documents and Settings\david\test\svn\trunk>dir
  Le volume dans le lecteur C s'appelle Disque local
  Le numéro de série du volume est D8CE-1795

  Répertoire de C:\Documents and Settings\david\test\svn\trunk

27/09/2004 17:10 <DIR> .
27/09/2004 17:10 <DIR> ..
27/09/2004 17:04 275 codé.c

The problem seems to be that Windows doesn't (adequately) set the
codepage for the environment, or Subversion isn't taking account of what
Windows sets. Can I force a local filesystem encoding for svn?

Cheers,
Dave.

-- 
David Neary
Phenix Engineering
110 ave Jean Jaures, 69007 Lyon
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 29 08:47:17 2004

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.