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

Re: Similar latin-iso8859-1 chars not displaying



Hi,

>>>>> In [emacs-w3m : No.07091] Robert J. Chassell wrote:

> The latin-iso8859-1 character: ñ (04361, 2289, 0x8f1, U+00F1) displays
> correctly the first time it is rendered in a *w3m* buffer, but not the
> second time.  (At least one other latin-iso8859-1 character also fails
> to display a second time.)

> When the following test file is rendered into W3M mode, Núñez
> displays correctly the first time then N??ez is displays, which is
> incorrect.  (The first time, the second and third letters of Núñez
> display correctly; the second time they do not.  The two instances of
> the identical word display correctly in both places in Firefox 0.8 and in
> GNU Emacs W3 mode, WWW p4.0pre.47, URL Exp.)

I tried it in the `English' language environment, however I
couldn't reproduce such a problem.  What command did you use the
second time?  I tried `G' for file:///home/yamaoka/test.html,
and `R'.  In addition, please let me know the values of some w3m
variables when visiting the same page, for the first time and
the second time.  To do that, evaluate the following command
(type `C-x C-e' at the end of the form) and run the command as
`M-x list-w3m-coding-systems RET' in the w3m buffer.

(defun list-w3m-coding-systems ()
  (interactive)
  (let* ((css '(w3m-coding-system
		w3m-coding-system-priority-list w3m-current-coding-system
		w3m-default-coding-system w3m-file-coding-system
		w3m-file-coding-system-for-read w3m-file-name-coding-system
		w3m-input-coding-system w3m-output-coding-system
		w3m-terminal-coding-system))
	 (buffer (get-buffer-create "*w3m-coding-systems*"))
	 (standard-output buffer)
	 cs rest)
    (while css
      (setq cs (car css)
	    css (cdr css))
      (setq rest (cons (list cs (symbol-value cs)) rest)))
    (setq rest (nreverse rest))
    (pop-to-buffer buffer)
    (erase-buffer)
    (while rest
      (princ (car rest))
      (insert "\n")
      (setq rest (cdr rest)))))