| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| Date: | Fri, 15 Aug 2008 18:38:16 -0700 |
| From: | David Rothenberger <daveroth AT acm DOT 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 AT cygwin DOT com, cygwin AT cygwin DOT com |
| Message-id: | <48A62F88.9060104@acm.org> |
| MIME-version: | 1.0 |
| References: | <20080815112907 DOT GA31145 AT trikaliotis DOT 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 AT cygwin DOT com |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
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 AT acm DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |