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

Problem with latin charset



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 :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
Un essai : é
<hr>
</body> </html>

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. I use the following settings in emacs:

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

Thank you,

Christophe