[mew-int 00724] Re: convert
Tatsuya Kinoshita
tats at example.com
Fri Feb 22 08:56:23 JST 2002
In message [mew-int 00723], on Thu, 21 Feb 2002,
Bastien Guerry <baztien at example.com> wrote:
> All is perfect, but sometimes mails coming from Microsoft World are not
> directly converted in Latin-9 (which is my own conf. of Emacs).
> I'm then forced to make manually:
> mew-summary-convert-local-cs "Latin-9"
If the mail has `Content-Type: Text/Plain; charset=VARIANT_LATIN9',
put this to your .mew.el:
----
(mew-add-first mew-cs-database-for-decoding
'("VARIANT_LATIN9" . iso-8859-15))
(mew-add-first mew-cs-database-for-decoding
'("iso-8859-15" . iso-8859-15))
(setq mew-cs-database-for-decoding
(mew-uniq-alist mew-cs-database-for-decoding))
----
This is like mew-summary-convert-local-cs automatically.
*
However, an encoding problem still remains. A feature of
simplifying coding systems is not yet supported.
For example, if you reply(`A') to the iso-8859-1 mail and put
iso-8859-15 characters, then the mail is encoded with UTF-8.
Characters are not merged into the single iso-8859-x.
Note: if you want to use UTF-8, install Mule-UCS:
ftp://ftp.m17n.org/pub/mule/Mule-UCS/Mule-UCS-0.84.tar.gz
(You can `apt-get install mule-ucs' on Debian system)
*
Anyway, I show an ad hoc configuration:
----
;; Use iso-8859-15 instead of iso-8859-1 for Latin-9 environment.
(mew-add-first mew-cs-database-for-decoding
'("iso-8859-1" . iso-8859-15))
(mew-add-first mew-cs-database-for-decoding
'("iso-8859-15" . iso-8859-15))
(setq mew-cs-database-for-decoding
(mew-uniq-alist mew-cs-database-for-decoding))
----
You can reply to the iso-8859-1 mail as iso-8859-15, but some
characters will be disguised. (e.g. CURRENCY SIGN -> EURO SIGN)
--
Tatsuya Kinoshita
More information about the Mew-int
mailing list