delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Message-ID: | <430A5355.1010503@etr-usa.com> |
Date: | Mon, 22 Aug 2005 16:36:05 -0600 |
From: | Warren Young <warren AT etr-usa DOT com> |
User-Agent: | Mozilla Thunderbird 1.0.6 (Windows/20050716) |
MIME-Version: | 1.0 |
To: | Cygwin-L <cygwin AT cygwin DOT com> |
Subject: | Re: Cygwin UTF-8 |
References: | <40534 DOT 84 DOT 246 DOT 168 DOT 11 DOT 1124714651 DOT squirrel AT mail DOT morrison DOT mine DOT nu> |
In-Reply-To: | <40534.84.246.168.11.1124714651.squirrel@mail.morrison.mine.nu> |
X-IsSubscribed: | yes |
John Morrison wrote: > > I'm trying to get Cygwin to run as utf-8 and failing. Cygwin itself doesn't care what character set you are using. The only thing I can think of where you might think Cygwin would have some effect here is printing UTF-8 to the console and expecting it to use the right characters. This will not happen, because the Windows console does not use UTF-8. By default, it only deals with 8-bit characters in your local code page. There's a way to set the console to accept UCS-2 encoded characters. If this is your problem, you should be using something like iconv() to allow your program to run on 8-bit systems, UTF-8 systems, and UCS-2 systems transparently. -- 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 |