summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--kolam/http.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/kolam/http.scm b/kolam/http.scm
index 9efbd60..fc60f0c 100644
--- a/kolam/http.scm
+++ b/kolam/http.scm
@@ -120,6 +120,7 @@ read from PORT. Raise errors, if any."
                (< (response-code response) 300))
     (error "GraphQL query failed with non-2xx status code:"
            response (get-string-all port)))
+  (set-port-encoding! port "utf-8")
   (let ((response-alist (json->scm port)))
     (cond
      ((assoc-ref response-alist "errors")