[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: Problem with latin charset



Does anyone hit on the cause of the problem?
(Japanese: $B$@$l$+J8;z2=$1$N860x$r;W$$IU$-$^$9$+(B?)

>>>>> In [emacs-w3m : No.07964] Christophe Garion wrote:

> Hello,

> I have a problem with HTML pages encoded as iso-8859-1 or iso-8859-15
> (latin-1 or latin-9). For instance, the following HTML code :

;; The following text/html part is a copy extracted from
;; Christophe Garion's original message.
Un essai : é
> will display as:

> Un essai : ?

> w3m displays correctly the page, both in console or xterm. emacs-w3m
> does not display correctly the page, neither in console nor X.

> I use emacs 21.3, w3m 0.5.1 and emacs-w3m 1.4.3 from the Debian testing
> distribution.

Hmm, I tried it with Emacs 21.3, w3m 0.5.1 and emacs-w3m 1.4.3,
the same as yours, without Mule-UCS, but I couldn't reproduce
the problem.

> I use the following settings in emacs:

I also used this, though I'm not familiar with Latin characters.

> (require 'ucs-tables)
> (unify-8859-on-encoding-mode 1)
> (unify-8859-on-decoding-mode 1)

> (set-terminal-coding-system 'latin-9)
> (set-keyboard-coding-system 'latin-9)
> (set-language-environment 'latin-9)
> (setq latin1-display t)

> (setq w3m-default-coding-system 'latin-9
>       w3m-coding-system 'latin-9
>       w3m-input-coding-system 'latin-9
>       w3m-output-coding-system 'latin-9
>       w3m-arrived-file-coding-system 'latin-9
>       w3m-search-default-coding-system 'latin-9
>       w3m-terminal-coding-system 'latin-9
>       w3m-file-name-coding-system 'latin-9
>       w3m-file-coding-system 'latin-9)

> Notice that the problem is the same if I do not set the w3m-xx-coding
> variables. I browse the archives of the list, but I did not find a
> solution. Can you please help me?

And let me question to Europeans.  Is it really necessary to
modify a lot of w3m- variables for Latin-9 like this?