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

Re: Character set problems


>> On 21 Oct 2001 19:04:47 +0300
>> azure@iki.fi (Hannu Koivisto) said as follows:

>I'm using latest emacs-w3m from CVS and Emacs 20.7, w3m 0.2.1-11
>and w3mmee 0.2.1.p19.3-3, all from Debian GNU/Linux unstable.

>I can't properly see WWW pages that use ISO 8859-1 character set.

In order to see them properly, there are 2 solutions.  The first one
is converting ISO 8859-1 charactes to numeric character references
which is defined by HTML4, and the second one is rebuilding `w3mmee'

In the first solution, you must (1) install `mule-ucs' package, (2)
run `dpkg-reconfigure locales' to generate `ja_JP.eucJP' locale, and
(3) put this expression

    (setq w3m-process-environment '(("LANG" "ja_JP.eucJP")))

into your ~/.emacs.

In the second solution, you have to apply `patches/post-header.patch'
before rebuilding `w3mmee' package in order to get an executable which
accepts `-header' option and `-post' option.  And, you must put this
following expression

    (setq w3m-type 'w3mmee)

into your ~/.emacs.

TSUCHIYA Masatoshi