[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Codepage problem with HttpResponse

  • Thread starter Thread starter Arno van der Ende
  • Start date Start date
Status
Not open for further replies.
A

Arno van der Ende

Guest
Thank you Matt. In fact the oHttpResponse:ContentType and oHttpResponse:GetHeader("Content-Type") did not contain the charset. However, when I set the charset to 'utf-8' in the request, the response does contain the 'charset=utf-8'. Also the Entity type is of WidgetHandle in that case. So thank you for the tip! This did the trick: oHttpRequest = RequestBuilder:Post(cUrl, oXmlRequestData):ContentType("application/xml; charset=utf-8"):AcceptXml():Request.

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