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 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 Reply-To: cygwin AT cygwin DOT com To: "A. Alper Atici" cc: cygwin AT cygwin DOT com Subject: Re: Locales with wrong umlauts In-Reply-To: Message-ID: References: <200406261959 DOT 28313 DOT k-cygwin AT ailis DOT de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT 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://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/