cancel
Showing results for 
Search instead for 
Did you mean: 

UTF-8 data in XML response not decoded as Unicode

glindholm
New Contributor

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 4
nmrao
Community Hero

Re: UTF-8 data in XML response not decoded as Unicode

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.


Regards,
Rao.
TommyD
New Contributor

Re: UTF-8 data in XML response not decoded as Unicode

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.
jmontgomery
New Contributor

Re: UTF-8 data in XML response not decoded as Unicode

I am also having this problem.

msiadak
Community Hero

Re: UTF-8 data in XML response not decoded as Unicode

@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. 




---

Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors