[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: website: Always export web pages as UTF-8.
From: |
Ludovic Courtès |
Subject: |
01/01: website: Always export web pages as UTF-8. |
Date: |
Mon, 22 Jun 2015 12:09:20 +0000 |
civodul pushed a commit to branch master
in repository guix-artwork.
commit 1bc4c07a4b23dff7fc5d529bd4170cf1487ceba5
Author: Ludovic Courtès <address@hidden>
Date: Mon Jun 22 14:07:55 2015 +0200
website: Always export web pages as UTF-8.
* website/www.scm (export-web-page): Pass #:encoding "UTF-8".
---
website/www.scm | 3 ++-
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."