Article View: gnu.emacs.vm.bug
Article #573Re: MIME encoding message garbles 8-bit characters (Unicode->Hex)
From: Piet van Oostrum
Date: Fri, 16 Sep 2005 08:25
Date: Fri, 16 Sep 2005 08:25
28 lines
2273 bytes
2273 bytes
>>>>> "José Miguel Figueroa" <j.m.figueroa@gmail.com> (JMF) wrote: >JMF> I'm using VM 7.19 on GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.2.0). >JMF> Say I compose a message using 8-bit characters (in iso-8859-1). Then >JMF> when VM mime-encodes the message they get changed. I have observed >JMF> that VM encodes >JMF> a character with Unicode U+00ab to one with Hex 0xab. For example, >JMF> é (Unicode U+00E9, Hex 0x8E) will appear after MIME encoding as È >JMF> (Unicode U+00C8, Hex 0xE9), etc. I don't know what you mean with 'Hex', but the codes you give there are the Mac-Roman encodings of these characters (the iso-8859-1 encodings are the same as the Unicode numbers. So it seems you have a mix-up between iso-8859-1 and Mac-Roman. >JMF> The output of M-x describe-current-coding-system on the VM composition >JMF> buffer says >JMF> Coding system for saving this buffer: >JMF> 1 -- iso-8859-1 (alias of iso-latin-1) But apparently the characters are entered in mac-roman. Strange. -- Piet van Oostrum <piet@cs.uu.nl> URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4] Private email: piet@vanoostrum.org
Technical Details
Message-ID:
<luu0glv2pj.fsf@ohana.cs.uu.nl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!newsfeeder.wxs.nl!surfnet.nl!ruu.nl!cs.uu.nl!not-for-mailReferences:
<1126718595.142527.213560@g49g2000cwa.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f6829,e7ad4ae5f23ea8c8 X-Google-Attributes: gidf6829,public X-Google-Language: ENGLISH,UTF8 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!newsfeeder.wxs.nl!surfnet.nl!ruu.nl!cs.uu.nl!not-for-mail From: Piet van Oostrum <piet@cs.uu.nl> Newsgroups: gnu.emacs.vm.bug Subject: Re: MIME encoding message garbles 8-bit characters (Unicode->Hex) Date: Fri, 16 Sep 2005 10:25:44 +0200 Organization: Dept of Computer Science, Utrecht University, The Netherlands Lines: 28 Message-ID: <luu0glv2pj.fsf@ohana.cs.uu.nl> References: <1126718595.142527.213560@g49g2000cwa.googlegroups.com> NNTP-Posting-Host: ohana.cs.uu.nl Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: june.cs.uu.nl 1126859144 28774 131.211.81.32 (16 Sep 2005 08:25:44 GMT) X-Complaints-To: news@cs.uu.nl NNTP-Posting-Date: Fri, 16 Sep 2005 08:25:44 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:jEMLbrygGfkGLe8c4kL9j6AqILQ=