[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: PASOE REST call returns JSON string with iso8859 encoding

  • Thread starter Thread starter wvandergraaf
  • Start date Start date
Status
Not open for further replies.
W

wvandergraaf

Guest
I tried another approach. After dataset:write-json to longchar I performed a codepage-convert to iso8859-1. It's ridiculous as far as I'm concerned, but it does work! So first: dataset ds:write-dataset("longchar",lcResponse,true). /* this is always UTF-8 */ then: lcResponse = codepage-convert(lcResponse,"iso8859-1","UTF-8"). Now the SoapUI and Postman testclients view the characters correct.

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