delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/19/08:39:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_00,WEBMAIL_BODY
X-Spam-Check-By: sourceware.org
Date: Fri, 19 Feb 2010 14:35:35 +0100
From: Gary <cygwin AT garydjones DOT name>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Problems with mutt & charset
Message-ID: <20100219133535.GA2920@mimosa.garydjones.name>
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

For some reason although when I send emails containing certain umlauted
characters everything looks fine, the recipient sometimes (or possibly
always, I only know because one person mentioned it) doesn't see the
characters correctly.

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

and within mutt I can see that Mutt has the charset variable set to
UTF-8 - ':set &charset ?charset' displays 'charset="utf-8"'.

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, however if
I look at the email via webmail it looks fine. Similary if I send a
friend an email continaing (apparently) any type of umlauted character
(upper or lower case) they appear to be replaced by spaces. I notice
that the Content-Type header contains text/plain; charset=iso-8859-1. Is
that correct? In .muttrc send_charset is unset, so allegedly defaults to
charset, but that doesn't seem to be the case here for some reason.

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