Add a <meta> tag into %html-header-tags% to explicitly declare

the charset of HTML files generated from an DocBook/SGML file.

Note to translators:

  While some of the translations already use this tweak
  in their localized freebsd.dsl, it is no longer needed so
  removed and the necessary changes have been added instead.
  After this commit, please make sure to define
  &doc.html.charset; in <langcode>/share/sgml/l10n.ent.
  If not defined, iso-8859-1 is used by default and it can
  break the translation.

Discussed on:	-doc
This commit is contained in:
Hiroki Sato 2004-11-07 16:26:09 +00:00
parent ade2f328b2
commit c24e829215
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=22836
17 changed files with 37 additions and 25 deletions

View file

@ -37,6 +37,9 @@
(define %hyphenation% #f) <!-- Silence a warning -->
(define %html-header-tags% '(("META" ("HTTP-EQUIV" "Content-Type")
("CONTENT" "text/html; charset=\"&doc.html.charset;\""))))
(define %gentext-nav-use-tables%
;; Use tables to build the navigation headers and footers?
#t)

View file

@ -13,3 +13,6 @@
<!-- docformat navi -->
<!ENTITY docnavi.single-html "Single HTML">
<!ENTITY docnavi.split-html "Split HTML">
<!-- charset for HTML output -->
<!ENTITY doc.html.charset "iso-8859-1">