summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut2004-11-10 23:01:47 +0000
committerPeter Eisentraut2004-11-10 23:01:47 +0000
commit5bf218d2eb5f117abf459d287c250c51d8c27613 (patch)
tree5d5b5da3b79e0ef0ae32000c09a6be120ff3480d /doc/src
parent979a530dded929d8fe1c54271bd13c4131f7cb8a (diff)
Add character set declaration to HTML files, so they have a chance to
validate and display correctly.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/stylesheet.dsl7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/src/sgml/stylesheet.dsl b/doc/src/sgml/stylesheet.dsl
index e1fb6ad1c31..fcaa2840fe7 100644
--- a/doc/src/sgml/stylesheet.dsl
+++ b/doc/src/sgml/stylesheet.dsl
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/stylesheet.dsl,v 1.27 2004/06/29 20:44:34 petere Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/stylesheet.dsl,v 1.28 2004/11/10 23:01:47 petere Exp $ -->
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!-- must turn on one of these with -i on the jade command line -->
@@ -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)