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

Re: Can't recode string - svn Version 1.1.1 (r11851) - cygwin under Windows 98

From: Albrecht Müller <100015.233_at_compuserve.com>
Date: 2004-11-20 15:36:41 CET

Hi,

now I give up: In my environment it is probably not possible to make
subversion hadle pathnames containing umlauts correctly.

Cygwin seems to use only a restricted implementation of the locale
features (see e.g. "info setlocale" and some Google search on "cygwin
locale").

The Windows version of svn (download from
http://subversion.tigris.org/files/documents/15/18114/svn-win32-1.1.1.zip)
also does not handle umlauts correctly. Subversion seems to be aware
of the language settings as it uses the proper language for its
messages. Nevertheless it is not able to handle the umlauts correctly:

In the messages umlauts appear in the form like ?\195?\164.

If an umlaut occurs in the command line at a position where svn expects
a filename then a message appears complaining that it cannot convert to
or from UTF8. It is better than the "Can't recode string" message I get
under cygwin as it tries to give the offending character. On the other
hand I did not find how this character is related to the umlaut I
entered in the command line. (To much stuff involved: Windows vs. DOS
Charset, UTF8-encoding ...)

I have found clues that let me hope that this problem may disappear when
I try subversion on a Windows XP or on a Linux machine, but to my
current knowledge the only solution on Windows 98 machines is to avoid
umlauts in filenames.

Albrecht
-----Ursprüngliche Nachricht-----
Von: "Albrecht Müller" <100015.233@compuserve.com>
An: <users@subversion.tigris.org>
Gesendet: Freitag, 12. November 2004 19:48
Betreff: Can't recode string - svn Version 1.1.1 (r11851) - cygwin under
Windows 98

> Hello,
>
> I am currently doing my first steps using subversion. I am using svn
Version
> 1.1.1 (r11851) under cygwin which runs atop Windows 98. The current
> situation is that I cannot use subversion because I keep getting the
message
> "Can't recode string". My first experience was that I got this message
> whenever I called svn with any parameters: If I entered "svn" in the
command
> line, I got the information that I should try "svn help". If I tried
this, I
> got the message "Can't recode string". I found out that the cause of
the
> problem was that then path to my home directory contained a German
umlaut.
> After changing the name (no umlauts) "svn help" worked.
>
> Now I tried "svn import". Unfortunately the path to the source of the
import
> also contains an umlaut, and again, I get this message and the import
does
> not work. I did some experiments using evironment variables related to
the
> locale-settings (LANG, LC_ALL etc.). The only effect was that svn now
speaks
> german, but I keep getting the "Can't recode string" message.
>
> What can I do to make svn work? Is this problem actually related to
> pathnames containing umlauts? What can I do to make svn accept umlauts
> correctly?
>
> Thank you
>
> Best regards
>
> Albrecht Müller
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Nov 20 15:43:14 2004

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