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

Tatsuya Kinoshita tats at example.com
Sun Mar 3 09:33:04 JST 2002


In message [mew-int 00760], on Sun, 3 Mar 2002,
Tatsuya Kinoshita <tats at example.com> wrote:

> (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)))

> 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.

The above configuration also has a problem of disguising characters.

For instance, if your terminal uses iso-8859-1 fonts, `¤'(0xA4)
is displayed as CURRENCY SIGN.  If your terminal uses iso-8859-15
fonts, `¤'(0xA4) is displayed as EURO SIGN.

> 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.

I can do it now.  I found the multilingual terminal emulator
`mlterm'.  It handles both CURRENCY SIGN and EURO SIGN by utf-8.

If you want to use the terminal software with utf-8, put this on
your ~/.emacs:

---- 
(require 'un-define) ;; Mule-UCS
(set-terminal-coding-system 'utf-8)
---- 

And also, see the configuration of the terminal software.

-- 
Tatsuya Kinoshita



More information about the Mew-int mailing list