`url-request-data' as UTF-8. Fixes
<http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
+2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
+
+ * 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>.
+
2013-02-01 Glenn Morris <rgm@gnu.org>
* calc/calc-help.el (calc-view-news): Use view-emacs-news.
(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)