summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-06-22 14:07:55 +0200
committerLudovic Courtès <ludo@gnu.org>2015-06-22 14:07:55 +0200
commit1bc4c07a4b23dff7fc5d529bd4170cf1487ceba5 (patch)
treee25c1ab89c7c3b1e5f2a7d894874eaf8fe28583e
parent1a6525c3472aaaa9c74cdb8f7c69e13548687805 (diff)
downloadguix-artwork-1bc4c07a4b23dff7fc5d529bd4170cf1487ceba5.tar
guix-artwork-1bc4c07a4b23dff7fc5d529bd4170cf1487ceba5.tar.gz
website: Always export web pages as UTF-8.
* website/www.scm (export-web-page): Pass #:encoding "UTF-8".
-rw-r--r--website/www.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/website/www.scm b/website/www.scm
index 49d5c67..780d381 100644
--- a/website/www.scm
+++ b/website/www.scm
@@ -349,7 +349,8 @@ Distribution.")
(call-with-output-file file
(lambda (port)
(display "<!DOCTYPE html>\n" port)
- (sxml->xml page port))))
+ (sxml->xml page port))
+ #:encoding "UTF-8"))
(define* (export-web-site #:optional (directory "."))
"Export the whole web site as HTML files created in DIRECTORY."