Nobody have a clue? Tell me if I need to clarify.

On Oct 14, 10:47 am, neXib <[EMAIL PROTECTED]> wrote:
> 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 æøå (&aring; 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 &aring; or hex
> values or anything shows the right character. Ideas?
>
>                         var $thirdLink = $(this).find('h5.media');
>                         var linkText = 
> $thirdLink.text().replace('å','&aring;');
>                         $thirdLink.text(linkText);

Reply via email to