[mew-int 00760] Re: iso-8859-15

Tatsuya Kinoshita tats at example.com
Sun Mar 3 07:32:51 JST 2002


In message [mew-int 00757], on Sat, 2 Mar 2002,
Tatsuya Kinoshita <tats at example.com> wrote:

> How can I display both iso-8859-1 and iso-8859-15 on the Emacs 21
> with the xterm (or the other terminal software)?

I guess that this problem is solved by the multilingual terminal
software.  But I don't know these configurations well, so I
cannot do it.

However, I've written a tricky configuration.

---- 
(defadvice mew-summary-cache-message (before my-latin-fix activate)
  (if (and (not window-system)
	   (string-match
	    "latin-" (downcase (symbol-name (terminal-coding-system)))))
      (set-buffer-multibyte nil)))
---- 

This configuration disables the multibyte feature on the Message
buffer if your terminal-coding-system uses latin-*.

I can read the iso-8859-15 message [mew-int 00755] and the
iso-8859-1 message [mew-int 00756] on the Emacs 21.1/xterm with
this configuration.  And also I can compose iso-8859-15 messages.

-- 
Tatsuya Kinoshita



More information about the Mew-int mailing list