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: Stefan Monnier
Subject: Re: emacs-25 b6b47AF: Properly encode/decode base64Binary data in SOAP
Date: Mon, 14 Mar 2016 08:39:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> On the server side, debbugs.gnu.org, a perl script using SOAP::Lite is
> responsible for encoding the attributes. IIUC, the internal package
> SOAP::Serializer decides depending on the contents of a string, whether
> it shall be xsd:base64Binary, or not. See:

>     $self->typelookup({
>            'base64Binary' =>
>               [10, sub {$_[0] =~ /[^\x09\x0a\x0d\x20-\x7f]/ }, 
> 'as_base64Binary'],
>     ...

So on the receiving side, debbugs.el should similarly check
multibyteness of the string to decide what to do with it, I think.


        Stefan




reply via email to

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