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

Re: Bad display for character entity references



>>>>> In [emacs-w3m : No.07669] Jay Rogers wrote:

> I'm getting mail from MS-Outlook users who HTML encode a
> "right single quotation mark" as ’

> When reading the mail with gnus and emacs w3m, the character
> is incorrectly displayed as the character "Latin small
> letter u with grave" i.e the character represented by ù

> I'm using w3m-0.5.1 and emacs_w3m 1.4.3.

> Is this a known bug?

Check your ~/.emacs file or site files which Emacs loads when
starting up.  You might find something like the following line:

(standard-display-european 1)

It might be t, not 1.  This modifies the standard-display-table.
Although I don't know how it is useful in the Latin world, it is
generally harmful.  Reiner Steib wrote as follows:

  From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
  Subject: standard-display-european (was: emacs from cvs on GNU dumps core
   when opening any kind of c file)
  Date: Fri, 20 Aug 2004 09:10:06 +0200
  Message-ID: <v94qmyl1yp.fsf_-_@marauder.physik.uni-ulm.de>
  References: <20040813023151.GF18130@boetes.org>
  	<20040819230543.GB16069@boetes.org>
  To: emacs-pretest-bug@gnu.org
  User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

  [...]

  `standard-display-european' is obsolete (IIRC at least since Emacs
  20.7).   You should probably use (set-language-environment "Latin-1")
  or omit it completely (Emacs does the right thing when your locales
  are set up correctly).

  `standard-display-european' leads to incorrect behavior of Gnus.

> Is there a workaround for it?

Remove it if there is.