Date: Mon, 12 May 1997 15:55:11 +0900 From: Hiroyuki HANAI <hanai@astec.co.jp> To: jfieber@FreeBSD.ORG Cc: CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: Re: cvs commit: src/usr.bin/sgmlfmt sgmlfmt.1 sgmlfmt.pl Message-ID: <19970512155511A.hanai@astec.co.jp> In-Reply-To: Your message of "Fri, 9 May 1997 18:25:51 -0700 (PDT)" References: <199705100125.SAA16582@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> jfieber 97/05/09 18:25:51 >(snip) > 5) Add an -e option to specify encoding for generated HTML files, > eg -e EUC-JP adds an appropriate <META> tag in the <HEAD> element. Thank you, John! I've just tried it for HTMLization of Japanese Handbook and confirmed all HTML files have META tag as follows <HEAD> <TITLE>FreeBSD handbook</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=EUC-JP"> </HEAD>. But, RFC2070 says: In any document, it is possible to include an indication of the encoding scheme like the following, as early as possible within the HEAD of the document: ^^^^^^^^^^^^^^^^^^^^ <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-2022-JP"> So, I think that inserting META tag before TITLE tag is more better :-) -- HANAI Hiroyuki/Ph. D./hanai@astec.co.jp ASTEC Inc./BR Ichigaya 6 Minami-cho Shinjuku-ku Tokyo 162 JAPAN (81)3-5261-5974(Tel)/(81)3-5261-5980(Fax)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970512155511A.hanai>