Declare character encoding
Though the page is output entirely in US-ASCII with Unicode characters escaped as Ӓ that still doesn't appease W3C's HTML validator. It wants us to explicitly declare an encoding. If we declare US-ASCII, it also complains. Therefore declare UTF-8.
This commit is contained in:
parent
44fd3f10d3
commit
b248110155
|
@ -50,7 +50,8 @@
|
||||||
(else (cdr x)))))
|
(else (cdr x)))))
|
||||||
(display ">")
|
(display ">")
|
||||||
(for-each display-sxml body)
|
(for-each display-sxml body)
|
||||||
(display* "</" (car x) ">")))
|
(unless (memq (car x) '(meta))
|
||||||
|
(display* "</" (car x) ">"))))
|
||||||
((string? x)
|
((string? x)
|
||||||
(string-for-each display-char x))
|
(string-for-each display-char x))
|
||||||
(else (error "Bad:" x))))
|
(else (error "Bad:" x))))
|
||||||
|
@ -232,6 +233,7 @@
|
||||||
(@ (lang "en"))
|
(@ (lang "en"))
|
||||||
(head
|
(head
|
||||||
(title "Scheme Registry")
|
(title "Scheme Registry")
|
||||||
|
(meta (@ (charset "UTF-8")))
|
||||||
(style ""
|
(style ""
|
||||||
"body { font-family: sans-serif; background-color: beige;"
|
"body { font-family: sans-serif; background-color: beige;"
|
||||||
" max-width: 40em; margin: 12px; }"
|
" max-width: 40em; margin: 12px; }"
|
||||||
|
|
Loading…
Reference in New Issue