lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] HTML5 meta charset attribute


From: Thomas Dickey
Subject: Re: [Lynx-dev] HTML5 meta charset attribute
Date: Thu, 29 Sep 2011 18:08:53 -0400 (EDT)

On Thu, 29 Sep 2011, KIHARA Hideto wrote:

Please support meta charset attribute of HTML5.
 http://www.w3.org/TR/html5/semantics.html#the-meta-element

Because lynx does not recognize charset attribute on the meta element,
following site which contains <meta charset="UTF-8"> is not shown correctly.
 http://vim-jp.org
("Charset: euc-jp" in information page shown by '=' key.
"Display character set" option is "Japanese (EUC-JP)").

Screen captures:
 Lynx 2.8.8dev.9:
   http://www1.interq.or.jp/~deton/lynx/meta-charset-NG.png
 Lynx 2.8.8dev.9 with patch:
   http://www1.interq.or.jp/~deton/lynx/meta-charset-OK.png

Lynx.trace log:
SGML: Unknown attribute charset for tag META
SGML: Attribute value UTF-8 ***ignored
SGML: Start <META>
LYHandleMETA: HTTP-EQUIV="(null)" NAME="(null)" CONTENT="(null)"

Here is a patch to support meta charset attribute of HTML5.

thanks ;-)

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]