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

Problem with httpapi and german characters



   Hi all
   I successfully develop a procedure to consume a web service with
   Httpapi and WSDL2RPG. Sometimes it happens that when in the answer is a
   character like ä, ü, ö, � � �the Expat procedure that reads the
   XML message goes in error for �Xpat error): (4) not well-formed
   (invalid token)�I contacted the web service provider and they told me
   that they used the exact utf-8 encoding. Then I modified my program to
   read  only the answer and write it in a ifs file without any changes .
   I suppose  that the data has been written in binary mode as they have
   been received . Then  I transfer the file from Ifs to my pc via Ftp in
   binary mode and then open it with Notepad++ and I found that the data
   was in ANSI and not in UTF-8 and the �was coded as x��nstead of
   x� 96� Does Httpapi do any changes  to the received data or am I
   missing something?
   Thank you for any Help
   Best regards
   Mario
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------