🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #572

MIME encoding message garbles 8-bit characters (Unicode->Hex)

#572
From: José Miguel Figueroa
Date: Wed, 14 Sep 2005 17:23
37 lines
2272 bytes
I'm using VM 7.19 on GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.2.0).

Say I compose a message using 8-bit characters (in iso-8859-1).  Then
when VM mime-encodes the message they get changed.  I have observed
that VM encodes
a character with Unicode U+00ab to one with Hex 0xab.  For example,

é (Unicode U+00E9, Hex 0x8E) will appear after MIME encoding as È
(Unicode U+00C8, Hex 0xE9), etc.

The output of M-x describe-current-coding-system on the VM composition
buffer says


Coding system for saving this buffer:
  1 -- iso-8859-1 (alias of iso-latin-1)


And after VM MIME-encodes the buffer it displays:

MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


I have the following lines in my .emacs file:

(set-buffer-file-coding-system 'iso-8859-1)
(setq default-buffer-file-coding-system 'iso-8859-1)
(set-default-coding-systems 'iso-8859-1)
(prefer-coding-system 'iso-8859-1)
(modify-coding-system-alist 'file "\\.html\\'" 'utf-8)


Any help would be greatly appreciated.

Cheers, José
Technical Details
Message-ID: <1126718595.142527.213560@g49g2000cwa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g49g2000cwa.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f6829,e7ad4ae5f23ea8c8,start
X-Google-Attributes: gidf6829,public
X-Google-Language: ENGLISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g49g2000cwa.googlegroups.com!not-for-mail
From: "José Miguel Figueroa" <j.m.figueroa@gmail.com>
Newsgroups: gnu.emacs.vm.bug
Subject: MIME encoding message garbles 8-bit characters (Unicode->Hex)
Date: 14 Sep 2005 10:23:15 -0700
Organization: http://groups.google.com
Lines: 38
Message-ID: <1126718595.142527.213560@g49g2000cwa.googlegroups.com>
NNTP-Posting-Host: 193.170.117.57
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1126718604 5517 127.0.0.1 (14 Sep 2005 17:23:24 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 14 Sep 2005 17:23:24 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050911 Camino/1.0a1,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: g49g2000cwa.googlegroups.com; posting-host=193.170.117.57;
   posting-account=PCllSw0AAAAaA8ECXWAZgoUHBochAU5R