[AWS] Encoding problems with SOAP

Florian Villoing lonely_dwarf@yahoo.fr
Fri, 12 Dec 2003 15:43:34 +0100


Arnaud Rolly wrote:
> Hi! I've an encofing problen with SOAP.
> 
> What's the encoding of the string returned by 
> 
>    function Get (P : in List; Name : in String) return String;
>    --  Returns parameter named Name in P as a String value. Raises
>    --  Types.Data_Error if this parameter does not exist or is not a String.
> 
> (in SOAP.Parameters) ?
> 
> It seems that it's in the 'ada' charset encoding (basic_8bit), despite the 
> fact that the soap call is made with UTF-8 encoded parameters.
> If so, is there a way to force a UTF-8 output of the Get function ?
> 

I think you're write. You can use SOAP.Utils.From_Utf8 to convert you 
string UTF-8 encoded to a string encoded in Basic_8bit.

Florian