aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Harsanyi2013-02-01 08:28:10 +0100
committerMichael Albinus2013-02-01 08:28:10 +0100
commitcd87ae10a83f64f6afa24d8611f1d10aa3c09086 (patch)
treefe4ae2931a1c446a50feec58e62c25e17c6df3b6
parent422ff52b80abd9233225b22ccdc5263631cbe482 (diff)
downloademacs-cd87ae10a83f64f6afa24d8611f1d10aa3c09086.tar.gz
emacs-cd87ae10a83f64f6afa24d8611f1d10aa3c09086.zip
* net/soap-client.el (soap-invoke): Encode the string for
`url-request-data' as UTF-8. Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/net/soap-client.el6
2 files changed, 11 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b87c0c87da5..a05d0fc0347 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2
3 * net/soap-client.el (soap-invoke): Encode the string for
4 `url-request-data' as UTF-8. Fixes
5 <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
6
12013-02-01 Glenn Morris <rgm@gnu.org> 72013-02-01 Glenn Morris <rgm@gnu.org>
2 8
3 * calc/calc-help.el (calc-view-news): Use view-emacs-news. 9 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
diff --git a/lisp/net/soap-client.el b/lisp/net/soap-client.el
index 6b4bc16c111..4ba8e5b5854 100644
--- a/lisp/net/soap-client.el
+++ b/lisp/net/soap-client.el
@@ -1768,7 +1768,11 @@ operations in a WSDL document."
1768 (url-package-name "soap-client.el") 1768 (url-package-name "soap-client.el")
1769 (url-package-version "1.0") 1769 (url-package-version "1.0")
1770 (url-http-version "1.0") 1770 (url-http-version "1.0")
1771 (url-request-data (soap-create-envelope operation parameters wsdl)) 1771 (url-request-data
1772 ;; url-request-data expects a unibyte string already encoded...
1773 (encode-coding-string
1774 (soap-create-envelope operation parameters wsdl)
1775 'utf-8))
1772 (url-mime-charset-string "utf-8;q=1, iso-8859-1;q=0.5") 1776 (url-mime-charset-string "utf-8;q=1, iso-8859-1;q=0.5")
1773 (url-request-coding-system 'utf-8) 1777 (url-request-coding-system 'utf-8)
1774 (url-http-attempt-keepalives t) 1778 (url-http-attempt-keepalives t)