Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) MIME-Version: 1.0 To: Cygwin-L 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> 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/