delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/20/07:31:56

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Date: Sat, 20 Feb 2010 13:27:48 +0100
From: Gary <cygwin AT garydjones DOT name>
To: cygwin AT cygwin DOT com
Subject: Re: Problems with mutt & charset
Message-ID: <20100220122748.GA3080@mimosa.garydjones.name>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20100219133535 DOT GA2920 AT mimosa DOT garydjones DOT name> <416096c61002200400q23d325acva12ab4cfb5266294 AT mail DOT gmail DOT com>
Mime-Version: 1.0
In-Reply-To: <416096c61002200400q23d325acva12ab4cfb5266294@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Sat, Feb 20, 2010 at 12:00:54PM +0000, Andy Koppe wrote:
> Gary:

> > I have the following environment variables set
> > LANG = "en_US.UTF-8"
> > LC_CTYPE = "de_CH.UTF-8"
> >
> > (LANG is en because I want to have my messages in English. Must LC_CTYPE
> > match?)
> 
> The charsets should probably match. I'm not sure whether the de_CH
> instead of en_US in LC_CTYPE makes any difference, i.e. you could
> probably just leave LC_CTYPE unset. If you want Swiss German
> conventions for everything except messages, e.g. sorting, time, and
> money formats, you should set LANG=de_CH.UTF-8 and
> LC_MESSAGES=en_US.UTF-8.

Okay. Seems to work for what I want, which is my UI in
English. Thanks. I think in principle I don't even need the other stuff
in German, I originally wanted that for spell-checking IIRC, and I've
since scripted things so that the language used for spell-checking is
guessed based on the language of the email or document I am writing.

> > However if I send *myself* an email containing upper case an umlauted A,
> > O, or U I see garbage in mutt where the character should be

> I don't use mutt, so I can't really help here, but a mintty user
> reported that he had to rebuild mutt against ncursesw (which is now
> part of the Cygwin distribution) to get UTF-8 in mutt working:
> http://code.google.com/p/mintty/issues/detail?id=124#c28

Hmm. You mean to get any UTF-8 support at all? It's strange, because
until a few weeks ago I could see all my umlauts just fine, but I don't
know which of the changes since then have caused my problems - changing
to UTF-8 and the consequent change to mintty (thanks for it, btw! really
usable!), upgrading to cygwin 1.7, or something else (e.g. some config
file change(s)). I'll give it a go anyway...

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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