Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Message-ID: <430A5355.1010503@etr-usa.com>
Date: Mon, 22 Aug 2005 16:36:05 -0600
From: Warren Young <warren@etr-usa.com>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
MIME-Version: 1.0
To: Cygwin-L <cygwin@cygwin.com>
Subject: Re: Cygwin UTF-8
References: <40534.84.246.168.11.1124714651.squirrel@mail.morrison.mine.nu>
In-Reply-To: <40534.84.246.168.11.1124714651.squirrel@mail.morrison.mine.nu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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/

