X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Fri, 15 Aug 2008 18:38:16 -0700
From: David Rothenberger <daveroth@acm.org>
Subject: Re: 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?
In-reply-to: <20080815112907.GA31145@trikaliotis.net>
To: cygwin@cygwin.com, cygwin@cygwin.com
Message-id: <48A62F88.9060104@acm.org>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 8BIT
References: <20080815112907.GA31145@trikaliotis.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16)  Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 8/15/2008 4:29 AM, Spiro Trikaliotis wrote:
> 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:
> 
> $ 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' - 'ü')

Subversion for Cygwin uses apr or aprutil to do the conversion to UTF-8, 
and those libraries don't support UTF conversion under Cygwin. I think 
this is because Cygwin itself does not support it, although I'm not sure.

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

That is the stock behavior for subversion when the conversion fails. I'm 
not going to change that for Cygwin.

> 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.

Windows supports the conversion using Windows APIs, it's just not 
supported through Cygwin.

-- 
David Rothenberger  ----  daveroth@acm.org

There is an old time toast which is golden for its beauty.
"When you ascend the hill of prosperity may you not meet a friend."
                 -- Mark Twain


--
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/

