emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/rt-liberation 6e9cceb 62/72: * rt-liberation-rest.el: U


From: Stefan Monnier
Subject: [elpa] externals/rt-liberation 6e9cceb 62/72: * rt-liberation-rest.el: UTF-8 decoding.
Date: Wed, 5 Aug 2020 11:57:45 -0400 (EDT)

branch: externals/rt-liberation
commit 6e9cceb8b42896761ac3b882ee118561204b54f7
Author: Yoni Rabkin <yrk@gnu.org>
Commit: Yoni Rabkin <yrk@gnu.org>

    * rt-liberation-rest.el: UTF-8 decoding.
    
    Patch by Martin Jesper Low Madsen <martin@martinjlowm.dk>.
---
 rt-liberation-rest.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]