diff options
| author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2024-03-19 16:05:37 +0100 |
|---|---|---|
| committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2025-06-15 01:30:26 +0200 |
| commit | 37068cada1cc06b5442482d5a1c69e8791e134be (patch) | |
| tree | cbf0c56facb86900a62fff39dda9b170db14ade0 /haunt.scm | |
| parent | e254ef843ad19e72eff0327718b769f343835906 (diff) | |
| download | haunt-blog-37068cada1cc06b5442482d5a1c69e8791e134be.tar.gz haunt-blog-37068cada1cc06b5442482d5a1c69e8791e134be.tar.bz2 haunt-blog-37068cada1cc06b5442482d5a1c69e8791e134be.zip | |
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 <GNUtoo@cyberdimension.org>
Diffstat (limited to 'haunt.scm')
| -rw-r--r-- | haunt.scm | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |
