Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sunil Kumar K C 14 posts 34 karma points
    Nov 17, 2015 @ 11:11
    Sunil Kumar K C
    0

    Some Swedish characters are shown as numbers and special characters used from umbraco dictionary item in jquery.

    Hi,

    Some Swedish characters like "Bekräftelse" are shown as "Begkr #228; ftelse". I am using umbraco dictionary item in jquery. Whats is the problem here?

    Thank you

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Nov 17, 2015 @ 11:24
    Dennis Aaen
    0

    Hi Sunil,

    The reason why the "Bekräftelse" are shown as "Begkr #228; ftelse". is because it´s encoded. What you need to do is to decode the dictionary item.

    I think that this http://stackoverflow.com/questions/1147359/how-to-decode-html-entities-using-jquery might help you

    /Dennis

  • Sunil Kumar K C 14 posts 34 karma points
    Nov 18, 2015 @ 06:01
    Sunil Kumar K C
    0

    Hi Dennis,

    It is not encode. When we refer same umbraco dictionary in C# code there is no problem. But when we use it in jquery instead of that character some special characters are displayed.

    /Sunil

Please Sign in or register to post replies

Write your reply to:

Draft