I don’t use HTTPAPI myself but try to debug it to see what happens after it has received the data and before it saves What CCSID is it using for creating the IFS-file? After saving the data in the file check the content of it using DSPF in hex mode. Are the letters “üöä” ( I assume it
is them By the way, what are the values you have and what values did you expect?
Regards/Peder Fra: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx <ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx>
På vegne af Oluwole Sowemimo Yes Peder,
<?xml version="1.0" encoding="utf-8"?> is what I have in beginning of my xml file in the IFS directory, but the accented character is not translated correctly
in the IFS directory prior to using XML-INTO to moving into my data structure. I have tried setting the CCSID to 1208 but still getting the same result. On Thursday, 24 October 2019, 10:33:45 BST, Udesen, Peder <Peder.Udesen@xxxxxxxxxxxxxxx> wrote:
I assume you are saving the data as a file. If the file contains this in the start <?xml version="1.0" encoding="utf-8"?> then it looks like XML-SAX in RPG doesn’t care about the CCSID. I haven’t found anything in the documentation confirming this. But it seems to. But you could try to change the files CCSID to 1208 ( UTF-8 ) and see what happens. Kind regards Peder Fra:
ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx <ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx>
På vegne af Oluwole Sowemimo Hi Scott, Thanks for getting back to me. The encoding is set to utf-8. I am not setting CCSID, do I need to set the CCSID? If yes, to what please? Kind regards Olu
This email and any files transmitted with it may be confidential and intended solely for the use of the individual or entity to which they are addressed.
If you have received this email in error please notify the sender. --
|
-- _______________________________________________ Ftpapi mailing list Ftpapi@xxxxxxxxxxxxxxxxxxxxxx http://scottklement.com/mailman/listinfo/ftpapi