From 37068cada1cc06b5442482d5a1c69e8791e134be Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Tue, 19 Mar 2024 16:05:37 +0100 Subject: convert.py, markdown: use UTF-8. Guile use ISO-8859-1 by default for ports. Since the markdown contain some UTF-8 characters, the resulting HTML ended up with unknown characters replaced by some '??'. Converting some dashes or quotes to ASCII equivalent was done in previous commits and was not a big issue, but some files also have characters with accents, so keeping most of the UTF-8 characters as-is and moving directly to UTF-8 is a better solution. Some characters still don't work, and end up in some haunt build errors (which is better than silent faillures like before). They all have valid equivalents so they were replaced by their equivalents. Signed-off-by: Denis 'GNUtoo' Carikli --- haunt.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'haunt.scm') diff --git a/haunt.scm b/haunt.scm index 952bd2c..7f0825f 100644 --- a/haunt.scm +++ b/haunt.scm @@ -19,6 +19,8 @@ (website readers wordpress-markdown) (website builders replicant-blog)) +(fluid-set! %default-port-encoding "UTF-8") + (site #:title "Replicant" #:domain "blog.replicant.us" #:default-metadata -- cgit v1.2.3