aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Wilken2024-07-12 23:15:47 +0200
committerTimo Wilken2024-07-12 23:15:47 +0200
commit187c1fd49d3cb04a9507699c333f32bcea910bf4 (patch)
tree66dc0c06159562213797f239342a8af7931402da
parent1bc7a7698c84fbd316a7454539353a390ad2c34f (diff)
Set JSON file encoding using parameter
-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"))))