summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rt-liberation-rest.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/rt-liberation-rest.el b/rt-liberation-rest.el
index 583aec3..b46867c 100644
--- a/rt-liberation-rest.el
+++ b/rt-liberation-rest.el
@@ -123,9 +123,11 @@
(url-retrieve-synchronously url))
str)
(setq str
+ (decode-coding-string
(with-current-buffer response
(buffer-substring-no-properties (point-min)
- (point-max))))
+ (point-max)))
+ 'utf-8))
(rt-liber-rest-write-debug
(format "outgoing rest call -->\n%s\n<-- incoming\n%s\n" url str))