diff options
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r-- | lisp/mastodon-http.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el index d3facc4..2b3f7dc 100644 --- a/lisp/mastodon-http.el +++ b/lisp/mastodon-http.el @@ -104,7 +104,10 @@ Pass response buffer to CALLBACK function." (with-current-buffer (mastodon-http--get url) (goto-char (point-min)) (re-search-forward "^$" nil 'move) - (let ((json-string (buffer-substring-no-properties (point) (point-max)))) + (let ((json-string + (decode-coding-string + (buffer-substring-no-properties (point) (point-max)) + 'utf-8))) (json-read-from-string json-string))))) json-vector)) |