diff options
author | Timo Wilken | 2024-07-12 23:15:47 +0200 |
---|---|---|
committer | Timo Wilken | 2024-07-12 23:15:47 +0200 |
commit | 187c1fd49d3cb04a9507699c333f32bcea910bf4 (patch) | |
tree | 66dc0c06159562213797f239342a8af7931402da /tw | |
parent | 1bc7a7698c84fbd316a7454539353a390ad2c34f (diff) |
Set JSON file encoding using parameter
Diffstat (limited to 'tw')
-rw-r--r-- | tw/gexp.scm | 4 |
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")))) |