delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/15/07:30:37

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 15 Aug 2008 13:29:08 +0200
From: Spiro Trikaliotis <an-cygwin AT spiro DOT trikaliotis DOT net>
To: cygwin AT cygwin DOT com
Message-ID: <20080815112907.GA31145@trikaliotis.net>
Mail-Followup-To: cygwin AT cygwin DOT com
MIME-Version: 1.0
User-Agent: Mutt/1.5.17+20080114 (2008-01-14)
X-SA-Exim-Connect-IP: 195.4.205.26
X-SA-Exim-Mail-From: an-cygwin AT spiro DOT trikaliotis DOT net
Subject: Subversion 1.5.1 on Cygwin: Aborting because "Can't convert string from native encoding to 'UTF-8'": Subversion problem, or generic Cygwin installation problem?
X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000)
X-SA-Exim-Scanned: Yes (on mail.trikaliotis.net)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello,

I have noticed a behaviour with Subversion 1.5.1 (and the previous one, I
think it was 1.4.6?) on a specific project.


I get the following output:

$ svn up
svn: Kann Zeichenkette nicht von der eigenen Codierung nach
?\194?\187UTF-8?\194?\171 konvertieren:
svn: RE  Papers f?\252r XXX.msg

$ LANG=C svn up
svn: Can't convert string from native encoding to 'UTF-8':
svn: RE  Papers f?\252r XXX.msg

(The ?\252 is a German-umlaut 'u' - 'ü')

The worst thing of this: Subversion completely aborts after this
(ignoring this one file would be a much better option for me...)


This does not happen if I use a non-cygwin (command-line) Subversion, or
if I use TortoiseSVN. That's the reason why I write this mail here, and
not on a Subversion list.

So, as far as I understand, the problem is that my system cannot convert
the 'ü' to UTF8. But why can't it?

BTW: I am not completely sure that this is a SVN problem per se. If I do
a ls -l, I get the following output:

$ ls -l
[...]
-rwxr-xr-x 1 tri Kein 34304 Aug 12 15:02 RE  Papers f?r ZESAN.msg
[...]

Note, again, that the Umlaut-u is replaced with a question mark '?'. So,
this might also be some other problem with my Cygwin install.

But: Which setting do I have to change? I tried setting the environment
variable $LANG to different values, but it seems not to have any effect.
Also, I tried codepage:ansi and codepage:oem in $CYGWIN (before starting
bash), but it seems to have no effect, too.

So, I am stuck with a problem, and I am not completely sure where to
proceed. Thus, any help is highly appreciated.

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019