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

Re: svn: Can't convert string from native encoding to 'UTF-8'

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2006-05-02 18:32:32 CEST

On Tue, May 02, 2006 at 05:53:45PM +0200, Molle Bestefich wrote:
> Marcus Rueckert wrote:
> >this requires proper locale setup.
>
> # locale
> LANG=
> LC_CTYPE="POSIX"
> LC_NUMERIC="POSIX"
> LC_TIME="POSIX"
> LC_COLLATE="POSIX"
> LC_MONETARY="POSIX"
> LC_MESSAGES="POSIX"
> LC_PAPER="POSIX"
> LC_NAME="POSIX"
> LC_ADDRESS="POSIX"
> LC_TELEPHONE="POSIX"
> LC_MEASUREMENT="POSIX"
> LC_IDENTIFICATION="POSIX"
> LC_ALL=
>
> Kindly point me in the right direction?
>

You haven't specified any language or encoding. I'd guess that that
means that iconv will default to no language and ASCII encoding, and the
bytes you quoted before definitely aren't ASCII. What encoding are your
file names in?

> (Does this mean that if I decide that names in my filesystem are
> Russian, then I'll _have to_ watch Russian error messages from
> Subversion?)
>

If you decide that they're in a KOI-R encoding, perhaps. If they're
UTF-8, no. The language and encoding are separate. For example, I
typically set LANG to 'en_GB.UTF-8', for British (proper :-)) English in
a UTF-8 encoding. However, not all language/encoding pairs are available:
'locale -a' lists those that are, I think.

Regards,
Malcolm

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 2 18:33:18 2006

This is an archived mail posted to the Subversion Dev mailing list.