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

Problem Character conversion



   hi
    I try to send characters Í which is spanish character
   this character is in CCSID 37
   but when i send it to an external web service it retrieve ??
   see the http_debug
   (See attached file: httpapi_debug-txt.zip)
   Send :<tns:Input>AM          04 ALMERÍA       .</tns:Input>
   Receive : <Output>AM          04 ALMER??A       .</Output>
   the character is good
   i try to change ccsid with HTTP_setccsids(1208:37) here
   // to the encoding of the SOAP envelope
   //HTTP_SetCCSIDs(getPostCcsid(): HTTP_EBCDIC);
     HTTP_SetCCSIDs(1208:37);

     // Create and open data source to store the request message
     hDataSource = ManagedMemoryDataSource_new(1024*1024*4); // 4 MB

   contentType = 'text/xml';
   but is is not working
   do i need to translate the characters before sending it ??
   how using http_xlate function ?
   regards
   Gilles
   This message contains confidential information. To know more, please
   click on the following link: http://disclaimer.bureauveritas.com

Attachment: httpapi_debug-txt.zip
Description: Zip archive

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------