delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/26/07:03:27

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Lapo Luchini <lapo AT lapo DOT it>
Subject: Re: Locales with wrong umlauts
Date: Sun, 26 Mar 2006 12:02:59 +0000 (UTC)
Lines: 33
Message-ID: <loom.20060326T135539-102@post.gmane.org>
References: <200406261959 DOT 28313 DOT k-cygwin AT ailis DOT de> <cbksmt$7vi$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 58 DOT 0406261847590 DOT 6778 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
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

Igor Pechtchanski <pechtcha <at> cs.nyu.edu> writes:

> On Sun, 27 Jun 2004, A. Alper Atici wrote:
> 
> > try the following:
> > set OUTPUT_CHARSET=iso-8859-1
> 
> 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).

Extremely useful to me too, I was quite fed up to see "`a" instead of "à" =)

I also noticed that OUTPUT_CHARSET=CP1252 *may* be preferred, compare the
following outputs:

% mtn up                         
monotone: gi`a aggiornato a '1848d7dfabfbed09fe53856da038e31eed0f42dc'
% OUTPUT_CHARSET=CP1252 monotone up
monotone: già aggiornato a ‘1848d7dfabfbed09fe53856da038e31eed0f42dc’
% OUTPUT_CHARSET=ISO8859-1 monotone up 
monotone: già aggiornato a `1848d7dfabfbed09fe53856da038e31eed0f42dc´
% OUTPUT_CHARSET=ISO8859-15 mtn up
monotone: già aggiornato a '1848d7dfabfbed09fe53856da038e31eed0f42dc'

In order to really "check" it some gettext with an euro symbol should be used,
but I'm not aware of any that does and I don't have the time to create one right
now 0=)

Instead of putting it simply in some FAQ couldn't Cygwin define that env var
correctly "by default"? (after all the system *knows* which charset it is using,
I guess?)


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