aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tw/gexp.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tw/gexp.scm b/tw/gexp.scm
index 49021ebd..fb904fab 100644
--- a/tw/gexp.scm
+++ b/tw/gexp.scm
@@ -27,5 +27,5 @@
(with-extensions (list guile-json-4)
#~(call-with-output-file #$output
(lambda (port)
- (set-port-encoding! port "UTF-8")
- ((@ (json) scm->json) '#$value port #:unicode #t))))))
+ ((@ (json) scm->json) '#$value port #:unicode #t))
+ #:encoding "UTF-8"))))