diff options
author | Alex Harsanyi <AlexHarsanyi@gmail.com> | 2013-02-01 08:28:10 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2013-02-01 08:28:10 +0100 |
commit | cd87ae10a83f64f6afa24d8611f1d10aa3c09086 (patch) | |
tree | fe4ae2931a1c446a50feec58e62c25e17c6df3b6 /lisp/net/soap-client.el | |
parent | 422ff52b80abd9233225b22ccdc5263631cbe482 (diff) | |
download | emacs-cd87ae10a83f64f6afa24d8611f1d10aa3c09086.tar.gz |
* 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>.
Diffstat (limited to 'lisp/net/soap-client.el')
-rw-r--r-- | lisp/net/soap-client.el | 6 |
1 files changed, 5 insertions, 1 deletions
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." (url-package-name "soap-client.el") (url-package-version "1.0") (url-http-version "1.0") - (url-request-data (soap-create-envelope operation parameters wsdl)) + (url-request-data + ;; url-request-data expects a unibyte string already encoded... + (encode-coding-string + (soap-create-envelope operation parameters wsdl) + 'utf-8)) (url-mime-charset-string "utf-8;q=1, iso-8859-1;q=0.5") (url-request-coding-system 'utf-8) (url-http-attempt-keepalives t) |