diff options
Diffstat (limited to 'website/www/packages.scm')
-rw-r--r-- | website/www/packages.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/website/www/packages.scm b/website/www/packages.scm index fe4fb2b..3e4097f 100644 --- a/website/www/packages.scm +++ b/website/www/packages.scm @@ -175,8 +175,11 @@ decreasing, is 1." (define (package-description-shtml package) "Return a SXML representation of PACKAGE description field with HTML vocabulary." - (and=> (package-description package) - (compose stexi->shtml texi-fragment->stexi))) + ;; 'texi-fragment->stexi' uses 'call-with-input-string', so make sure + ;; those string ports are Unicode-capable. + (with-fluids ((%default-port-encoding "UTF-8")) + (and=> (package-description package) + (compose stexi->shtml texi-fragment->stexi)))) (define (package-logo name) (and=> (lookup-gnu-package name) |