From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8646 Path: news.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.gnus.user Subject: Re: iso-8859-1 in outgoing messages in spite of UTF-8 environment Date: Fri, 02 Feb 2007 15:36:20 +0100 Organization: Informatimago Message-ID: <87ps8svd7f.fsf@thalassa.informatimago.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1170427277 27483 80.91.229.12 (2 Feb 2007 14:41:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Feb 2007 14:41:17 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Feb 02 15:41:06 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HCzb2-0006Im-P2 for gegu-info-gnus-english@m.gmane.org; Fri, 02 Feb 2007 15:41:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HCzb2-0002xf-6u for gegu-info-gnus-english@m.gmane.org; Fri, 02 Feb 2007 09:41:00 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 54 Original-X-Trace: individual.net wWFB2MzMTyz5HHu7yNsU+wvyWHXICiq1JTn0dovowMlzeYh6Ud Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) Cancel-Lock: sha1:A9VRAIt8DpNvIJz/ctbZJvk0dT4= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:78830 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:8646 Archived-At: stromme@math.uib.no (Stein Arild Strømme) writes: > I have > > (set-language-environment 'UTF-8) emacs lisp is case sensitive (like Common Lisp, but unlike Common Lisp, the emacs lisp reader doesn't upcase everything on read by default). Therefore (set-language-environment 'UTF-8) is not the same as (set-language-environment 'utf-8) and I don't know whether (set-language-environment 'UTF-8) will do anything good at all. > How can I still get message-mode to use iso-8859-1 in outgoing > messages? (I get complaints about UTF-8 email.) Looking at the info > nodes for Message is quite confusing on this, and the things I have > tried do no seem to work, things like > > (setq mm-content-transfer-encoding-defaults '(iso-8859-1)) > (setq mm-body-charset-encoding-alist '(iso-8859-1 . 8bit)) > (setq message-posting-charset 'iso-8859-1) > > I have these variables: > > message-default-charset is a variable defined in `message.el'. > Its value is iso-8859-1 > > message-posting-charset is a variable defined in `message.el'. > Its value is iso-8859-1 > > Grateful for any hints. In addition, you might add hooks to set the buffer encoding. (defun mail-meat () (set-buffer-file-coding-system 'iso-8859-1)) (add-hook 'mail-setup-hook 'mail-meat) -- __Pascal Bourguignon__ http://www.informatimago.com/ Nobody can fix the economy. Nobody can be trusted with their finger on the button. Nobody's perfect. VOTE FOR NOBODY.