Article View: gnu.emacs.vm.bug
Article #458Re: Umlauts vanish upon sending
From: Tommy Berndt
Date: Fri, 10 Aug 2007 20:54
Date: Fri, 10 Aug 2007 20:54
39 lines
2498 bytes
2498 bytes
To all those who are interested:
Tommy Berndt wrote:
/snip/
>
> And encoding in iso-2022-jp is very likely not what I want :) I guess
> "jp" stand for Japanese?!
>
/snip/
iso-2022-jp actually is Japanese!
Vm uses this encoding as fall-back. I don't know why it is used in my
case... So, I poked a bit (having no idea of lisp) and it worked with
the following:
vm-mimes.el:
(defun vm-determine-proper-charset (beg end)
[...]
;; Couldn't do any magic with vm-coding-system-priorities. Pass
;; back a Japanese iso-2022 MIME character set.
;;/TB:10-Aug-2007/ replace the below line with some guess
;;(t "iso-2022-jp")))
(t "iso-8859-1")))
;; If we're non-MULE and there are eight bit characters, use a
;; sensible default.
;;/TB:10-Aug-2007/ Comment the following...
;; (goto-char (point-min))
;; (if (re-search-forward "[^\000-\177]" nil t)
;; (or vm-mime-8bit-composition-charset "iso-8859-1")
;; ;; We're non-MULE and there are purely 7bit characters in the
;; ;; region. Return vm-mime-7bit-c-c.
;; vm-mime-7bit-composition-charset)
))))
Regards,
Tommy
--
_____________________________________________________________________
Aberglaube bringt Ungl�
Technical Details
Message-ID:
<46bcd0ac$0$16111$9b4e6d93@newsspool1.arcor-online.net>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mailReferences:
<46bb4476$0$5698$9b4e6d93@newsspool2.arcor-online.net> <85tzr7mcto.fsf@robf.de> <46bcba73$0$7701$9b4e6d93@newsspool2.arcor-online.net>Show Full Headers
Complete Article Headers
X-Google-Thread: f6829,1fa2991850e61ca7 X-Google-Attributes: gidf6829,public,usenet X-Google-Language: ENGLISH,ASCII Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 10 Aug 2007 22:54:33 +0200 From: Tommy Berndt <tommy@nowhere.net> User-Agent: Thunderbird 2.0.0.4 (X11/20070604) MIME-Version: 1.0 Newsgroups: gnu.emacs.vm.bug Subject: Re: Umlauts vanish upon sending References: <46bb4476$0$5698$9b4e6d93@newsspool2.arcor-online.net> <85tzr7mcto.fsf@robf.de> <46bcba73$0$7701$9b4e6d93@newsspool2.arcor-online.net> In-Reply-To: <46bcba73$0$7701$9b4e6d93@newsspool2.arcor-online.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 39 Message-ID: <46bcd0ac$0$16111$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 10 Aug 2007 22:55:08 CEST NNTP-Posting-Host: 16d89069.newsspool1.arcor-online.net X-Trace: DXC=i]bFK`l=mjGNTD<CL>55KMic==]BZ:afN4Fo<]lROoRA4nDHegD_]REQ4AYASX]H4C0CH8H@GY=5LooZm?IIJWPCld0?KB^^hnCNQE`V50SFcIcZ4J;Y5`<2H X-Complaints-To: usenet-abuse@arcor.de