Quoted-Printable bug?
Tatsuya Kinoshita
tats at iris.ne.jp
Fri Jun 21 00:13:50 JST 2002
In message [emacs-mime-en:00061], on Thu, 20 Jun 2002,
Katsumi Yamaoka <yamaoka at jpl.org> wrote:
> > Content-Type: text/plain; charset=UTF-8
> > Content-Transfer-Encoding: quoted-printable
> > --text follows this line--
> > A=E0A=E2A=E1A
>
> It is correct if charset=ISO-8859-1. See the following two MIME
> parts in the raw buffer (I've made it under the condition that
> enable-multibyte-characters=t). Does any subscribers know what
> is the real cause of that behavior?
APEL/10.3 doesn't have an iso-8859-15 entry, so a message is
encoded with utf-8 instead of iso-8859-15 even if
enable-multibyte-characters is t.
(I've already reported this problem to apel-ja at m17n.org,
X-Mail-Count: 00676.)
Anyway, I suggest Mule-UCS and the following configuration:
----
(require 'un-define) ;; Mule-UCS
(defmacro my-add-last (variable value)
`(unless (member ,value ,variable)
(setq ,variable (nreverse (cons ,value (nreverse ,variable))))))
(when (find-coding-system 'iso-8859-15)
(set-language-environment "Latin-9")
(prefer-coding-system 'iso-8859-15)
(set-default-coding-systems 'iso-8859-15)
(set-terminal-coding-system 'iso-8859-15)
;; Add iso-8859-15 feature to APEL/FLIM/SEMI
(require 'mcs-20) ;; APEL
(my-add-last
charsets-mime-charset-alist '((ascii latin-iso8859-15) . iso-8859-15))
(require 'eword-encode) ;; FLIM
(my-add-last
mime-header-charset-encoding-alist '(iso-8859-15 . "Q"))
(require 'mime-edit) ;; SEMI
(my-add-last
mime-charset-type-list '(iso-8859-15 8 "quoted-printable")))
----
--
Tatsuya Kinoshita
More information about the Emacs-mime-en
mailing list