Forum Discussion

glindholm's avatar
glindholm
New Contributor
11 years ago

UTF-8 data in XML response not decoded as Unicode

Unicode data encoded as UTF-8 in an XML response is not begin displayed correctly.
It appears it is being decoded as ISO-8859-1 instead of UTF-8.

I will paste in a segment of the response (not sure this forum will display correctly.)


HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml
Content-Length: 6823
Date: Fri, 17 Jan 2014 14:58:51 GMT

<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign id="168367">
<name>Base 6 updated (3)</name>
<description>Base6 Description</description>
</campaign>
<campaign id="168370">
<name>Campaign 1 - NeoCødé</name>
<description></description>
</campaign>


Here is what the 2nd campaign name should be display as: (again not sure if forum will display correctly).

<name>Campaign 1 - NeoCødé</name>

4 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    May be it will help you quickly if you check with developer or service provider wether any encoding is used while sending respone for your request.
  • TommyD's avatar
    TommyD
    New Contributor
    I have the same problem, but in the Pro version (can´t post in the pro section). This is a problem that has occured in the 4.6.4 version. åäö turns to Ã¥ ä Ö and similar.
      • groovyguy's avatar
        groovyguy
        Champion Level 1

        jmontgomery, you have responded to a thread that is over 4 years old. You may want to consider posting a new thread with your own specific details.