From cd87ae10a83f64f6afa24d8611f1d10aa3c09086 Mon Sep 17 00:00:00 2001 From: Alex Harsanyi Date: Fri, 1 Feb 2013 08:28:10 +0100 Subject: * net/soap-client.el (soap-invoke): Encode the string for `url-request-data' as UTF-8. Fixes . --- lisp/net/soap-client.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lisp/net/soap-client.el') 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) -- cgit v1.2.1