delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/26/19:05:30

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sat, 26 Jun 2004 19:05:17 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "A. Alper Atici" <alperatici AT ttnet DOT net DOT tr>
cc: cygwin AT cygwin DOT com
Subject: Re: Locales with wrong umlauts
In-Reply-To: <cbksmt$7vi$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.58.0406261847590.6778@slinky.cs.nyu.edu>
References: <200406261959 DOT 28313 DOT k-cygwin AT ailis DOT de> <cbksmt$7vi$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Sun, 27 Jun 2004, A. Alper Atici wrote:

> On Sat, 26 Jun 2004 19:59:28 +0200, Klaus Reimer wrote:
> >
> >set LC_ALL=de_DE
> >webdruid
> >
> >The output is german but the german umlauts are not displayed correctly.
> >Instead of 'gültigen' I get 'g"ultigen'. I think it's because the library
> >responsible for the locales (is that libintl2?) converts the output to 7-Bit
> >ASCII. How can I change this so the output is ISO-8859-1 or UTF-8 or any
> >other encoding Windows can display correctly?
>
> try the following:
>
> set LC_ALL=de_DE OUTPUT_CHARSET=iso-8859-1
> webdruid

Wow.  Thanks, this was *extremely* useful.  Interestingly enough, the
OUTPUT_CHARSET option was not mentioned anywhere in the gettext/libintl
documentation, but a search for it unearthed another couple of messages on
this list from earlier this year with the same info[*] (one was from you).

Somehow I think this deserves to be in the FAQ/User's Guide, even though
this isn't Cygwin-specific, but is a problem with newlib (and, apparently,
glibc-2.1).  A link to the appropriate section of the Unicode HOWTO ([+])
might also be helpful.
	Igor
[*] <http://cygwin.com/ml/cygwin/2004-03/msg00919.html>
    <http://cygwin.com/ml/cygwin/2004-04/msg01187.html>
[+] <http://www.linuxdocs.org/HOWTOs/Unicode-HOWTO-3.html>
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019