diff options
author | Yoni Rabkin <yrk@gnu.org> | 2016-05-09 11:38:47 -0400 |
---|---|---|
committer | Yoni Rabkin <yrk@gnu.org> | 2016-05-09 11:38:47 -0400 |
commit | 6e9cceb8b42896761ac3b882ee118561204b54f7 (patch) | |
tree | 15b7d1281d53076aecdec3d9217e6abdaed44221 /rt-liberation-rest.el | |
parent | 5f6342892f7e9c5dceb36c3e3869e0debadc847b (diff) |
* rt-liberation-rest.el: UTF-8 decoding.
Patch by Martin Jesper Low Madsen <martin@martinjlowm.dk>.
Diffstat (limited to 'rt-liberation-rest.el')
-rw-r--r-- | rt-liberation-rest.el | 4 |
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)) |