[Progress Communities] [Progress OpenEdge ABL] Forum Post: Webservice and codepage

  • Thread starter Thread starter goo
  • Start date Start date
Status
Not open for further replies.
G

goo

Guest
11.7 We have a webservice that receives an XML document in a longchar. If I remember correct you may use fix-codepage(lcVariable) = '.....' to set the codepage for the longchar. Since our db is iSO8859-1, I assume that the codepage will convert what it gets from the webservice into iso8859-1. What happens if the XML is UTF-8 or UTF-16? Since there is several systems sending info to the webservice, I assume that we could get several different types of XML documents with different encoding. How should we handle that? It seems to work as it is, but now and then we get crapy characters, so I assume it has something to do with this. I know I could peek into the xml and get the encoding, but since I already have received the document into a longchar that probably already have done some convertion, I assume that the content of the longchar is corrupt.

Continue reading...
 
Status
Not open for further replies.
Back
Top