From: Peter Eisentraut Date: Wed, 10 Nov 2004 23:01:47 +0000 (+0000) Subject: Add character set declaration to HTML files, so they have a chance to X-Git-Tag: REL8_0_0BETA5~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5bf218d2eb5f117abf459d287c250c51d8c27613;p=postgresql Add character set declaration to HTML files, so they have a chance to validate and display correctly. --- diff --git a/doc/src/sgml/stylesheet.dsl b/doc/src/sgml/stylesheet.dsl index e1fb6ad1c3..fcaa2840fe 100644 --- a/doc/src/sgml/stylesheet.dsl +++ b/doc/src/sgml/stylesheet.dsl @@ -1,4 +1,4 @@ - + @@ -193,9 +193,10 @@ (make empty-element gi: "HR") (empty-sosofo))) -;; Put date of creation into HTML header +;; Add character encoding and time of creation into HTML header (define %html-header-tags% - (list (list "META" '("NAME" "creation") (list "CONTENT" (time->string (time) #t))))) + (list (list "META" '("HTTP-EQUIV" "Content-Type") '("CONTENT" "text/html; charset=ISO-8859-1")) + (list "META" '("NAME" "creation") (list "CONTENT" (time->string (time) #t))))) ;; Create an index (define html-index #t)