0

How can I have a SOAP Response with Thai Characters?

In datasource, it is written as Thai characters but what i get from SOAP Response, are different set of symbols, i think it's an ASCII or something but not a thai characters.

hippietrail
  • 15,848
  • 18
  • 99
  • 158
  • How are you creating and sending SOAP requests? Can you give any code to show us what you've got so far? – Bobulous Jul 27 '12 at 08:11
  • What character set have you defined for the xml and the response? The first one can be important for the application that is using your webservice. The second one is how your browser is going to interpret and render the response. – Kurt Du Bois Jul 27 '12 at 08:11
  • it is both UTF-8 for the character set – JayJay Tugade Jul 27 '12 at 09:10

1 Answers1

0
  • Check to see if the Content-Type header is set correctly in the response message. It should contain charset=utf-8.
  • Check to see if the xml header of the soap WSDL has the following format <?xml version='1.0' encoding='UTF-8'?>
  • There could also be a mismatch between characters encoding. Check the encoding in the database and the encoding of the returned message and see if they are the same.
amb
  • 1,599
  • 2
  • 11
  • 18