Gilles, I added some procedures to module WSDL2R98 of service program WSDL2RPGRT to control the integrated XML entity encoder. Replace the existing source members and reinstall WSDL2RPG if you want to use the new procedures: // Enables/disables the integrated XML entity encode. XmlEntityEncoder_setEnabled(isEnabled) // Returns the enabled status of the integrated XML entity encoder. isEnabled = XmlEntityEncoder_isEnabled() // Encodes XML entities up to 64k (V5R4 and lower). encoded = XmlEntityEncoder_encode(i_value) // Encodes XML entities up to 1MB (V6R1 or higher). encoded = XmlEntityEncoder_encodeLarge(i_value) // Encodes XML entities up to 16MB (V6R1 or higher). XmlEntityEncoder_encodeV6( i_value: %addr(encoded): %addr(encoded: *DATA): %size(encoded)); Regards, Thomas. ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 01.07.2013 14:33:34: > Von: gilles.renne@xxxxxxxxxxxxxxxxx > An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx, > Datum: 01.07.2013 14:41 > Betreff: Problem to send DB characters - Remove Escape characters > Gesendet von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx > > > Hi, > > I try to send chineese characters like > > when i view this on Iseries > i see > > > > So chineese characters 5075 > > has a & , then this characters is remove for escape characters function > ( XmlEntityEncoder_encodeToStream) > > and then after the i_conv function is wrong because a db character lost > one hexa decimal value. > > what can i do do prevent this ????? > > regards > > Gilles Renne > This message contains confidential information. To know more, please > click on the following link: [1]http://disclaimer.bureauveritas.com > [Bild entfernt] [Bild entfernt] [Bild entfernt] [Bild entfernt] > [Bild entfernt] > ----------------------------------------------------------------------- > This is the FTPAPI mailing list. To unsubscribe, please go to: > [2]http://www.scottklement.com/mailman/listinfo/ftpapi > ----------------------------------------------------------------------- -- IMPORTANT NOTICE: This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender. References 1. http://disclaimer.bureauveritas.com/ 2. http://www.scottklement.com/mailman/listinfo/ftpapi
Attachment:
Patch_XmlEncoder_for_v1.15.5+.zip
Description: Zip archive
----------------------------------------------------------------------- This is the FTPAPI mailing list. To unsubscribe, please go to: http://www.scottklement.com/mailman/listinfo/ftpapi -----------------------------------------------------------------------