civodul pushed a commit to branch master
in repository guix-artwork.

commit 1bc4c07a4b23dff7fc5d529bd4170cf1487ceba5
Author: Ludovic Courtès <[email protected]>
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."

Reply via email to