emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-25 b6b47AF: Properly encode/decode base64Binary data in SOAP


From: Michael Albinus
Subject: Re: emacs-25 b6b47AF: Properly encode/decode base64Binary data in SOAP
Date: Mon, 14 Mar 2016 13:38:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Alex Harsanyi <address@hidden> writes:

> I think the problem here is that the debbugs server encodes utf8
> values as base64, even though the message envelope is utf8 XML and
> could handle them as normal strings.   debbugs.el does not want to
> know about this, so expects strings to be strings.  soap-client.el is
> caught in the middle.

Well, if debbugs.el would get an indication from soap-client.el, whether
a string was encoded as xsd:string or xsd:base64Binary, it could decode
the latter values itself. Less convenient, but so what.

> I would also like to reiterate that base64 encoding can be used for
> other things, such as images, and it would not be appropriate to
> decode those as utf8 (not to mention that such a decoding might fail).

Is there a way to tell soap-client.el, what to do with base64 encoded values?
Something like a user-defined function, or alike?

> Best Regards,
> Alex.

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]