Copied to clipboard

Flag this post as spam?

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


  • Sverrir Páll Sverrisson 7 posts 87 karma points
    May 18, 2017 @ 17:39
    Sverrir Páll Sverrisson
    0

    Non-english characters are encoded

    Hi, I'm using a Data Type that uses the property editor "Tags" (Umbraco.Tags).

    I use this data type in a Document Type in Umbraco. The storage type of the tags is Csv, but I also tried json, but it doesn't seem to work either.

    The data type

    enter image description here

    enter image description here

    When I add tags in an instance of the document type it looks like this:

    enter image description here

    But when it appears on the page it looks like this:

    enter image description here

    This is the only data type where this happens, all other data types that I use in this document type work fine. Textstring and Textarea for example.

    Any ideas?

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    May 18, 2017 @ 20:19
    Alex Skrypnyk
    100

    Hi Sverrir

    Try to use this code:

    @Html.Raw(HttpUtility.HtmlDecode(tagValue));
    

    Thanks,

    Alex

  • Sverrir Páll Sverrisson 7 posts 87 karma points
    May 19, 2017 @ 09:41
    Sverrir Páll Sverrisson
    0

    Thanks Alex!

Please Sign in or register to post replies

Write your reply to:

Draft