From: Alex Harsanyi Date: Fri, 1 Feb 2013 07:28:10 +0000 (+0100) Subject: * net/soap-client.el (soap-invoke): Encode the string for X-Git-Tag: emacs-24.3.90~173^2~7^2~175 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cd87ae10a83f64f6afa24d8611f1d10aa3c09086;p=emacs.git * net/soap-client.el (soap-invoke): Encode the string for `url-request-data' as UTF-8. Fixes . --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b87c0c87da5..a05d0fc0347 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2013-02-01 Alex Harsanyi + + * net/soap-client.el (soap-invoke): Encode the string for + `url-request-data' as UTF-8. Fixes + . + 2013-02-01 Glenn Morris * 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." (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)