Bad translation

Discussions related to HTTPAPI (An HTTP Client Package for RPG programming.) http://www.scottklement.com/httpapi/
Post Reply
papavask
Posts: 6
Joined: Wed Mar 15, 2023 4:20 pm

Bad translation

Post by papavask »

Hi all,
I am using libhttp to send soap xml message to a service from an AS400 system.
I have to include Greek characters in the xml message, although the variable dump displays Greek chars reading the log i find garbage characters and the service does not accept the message.
I have also try to declare a variable with ccisid(*utf8) and ccisid(1208) but got the same characters.


Is there any suggestion to solve that problem?

Thanks for your time
Kostas
papavask
Posts: 6
Joined: Wed Mar 15, 2023 4:20 pm

Re: Bad translation

Post by papavask »

Problem solved only by setting http_setOption('network-ccsid' : '1208') !!!! ;)
Post Reply