Hi,

I've got a xml feed that I'm getting from an external url, it's in
utf-8 format and loads fine (looks perfect if I just copy it into the
local xml file). But the problem is that our way of getting this xml
file which is something the company have coded earlier (old now) seems
to encode it as something other than utf-8. So when I output the data
special characters like our æøå (å and such) turns into garble.
I can probably get this code of ours changed internally, but in the
meantime it would be nice if I could replace these characters with
jquery. I tried a jquery like below but nothing like å or hex
values or anything shows the right character. Ideas?


                        var $thirdLink = $(this).find('h5.media');
                        var linkText = $thirdLink.text().replace('å','å');
                        $thirdLink.text(linkText);

Reply via email to