> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Le vendredi, 11 Juin 2004 18.00, Dimitri Papadopoulos-Orfanos a écrit :
> > >>That's probably a typo, but you need to set LANG, not LAND.
> > It's a known issue, I don't know if it qualifies as a bug or a feature.
> > The repository seems to require all filenames to be UTF-8-encoded.
> > However if I recall correctly, under GNU/Linux filenames are
> > UTF-8-encoded only under an UTF-8 locale such as fr_CH.UTF-8.
This is somewhat misleading. Yes, the repository keeps filenames in UTF-8,
so does the client internally. This has nothing to do with the encoding of
the local filesystem.
> OK, I tried to set LC_CTYPE and LANG to fr_CH.UTF-8. At least it chages
> error, but it still doesnt work :-( Now I get :
> $ svn update
> svn: Valid UTF-8 data
> (hex: 74)
> followed by invalid UTF-8 sequence
> (hex: e9 6c e9 70)
> I guess that's because my filesystem isnt actually UTF-8 (was created
> changing the locales). I would probabl require to rename a few files ...
> I dont know which one. I guess it is the filename that is a problem and
> file content (I read subversion treats all files as binary) but I am not
> really sure about this ...
Sure, because you are telling Subversion that your filenames are UTF-8
encoded when in fact they are not. The "Can't recode string" error message
usually means that you did not set the LANG or LC_CTYPE env vars at all; in
those cases Subversion doesn't know what the source encoding is, so it can't
Assuming that LANG and LC_CTYPE were not set at all, you need to set them to
fr_CH, unless you recode all filenames on your system to be UTF-8
> Also, for a number of reason, I would like to keep my fr_CH locale and
> change it to UTF-8. Is there a way to keep it but still use subversion ?
+++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++
GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Sat Jun 12 09:32:55 2004