Copied to clipboard

Flag this post as spam?

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


  • Jonas Nilsson 137 posts 260 karma points
    May 12, 2014 @ 13:52
    Jonas Nilsson
    0

    Encoding problems with tag names

    When adding a tag in Internet Explorer 11, chars like åäö in tag name will be broken. (after saving the page)
    (Umbraco 7.1.1)

     

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jun 12, 2014 @ 16:52
    Anthony Dang
    0

    Do you know what could be causing this?

     

  • Per Olsson 47 posts 307 karma points
    Nov 12, 2014 @ 17:15
    Per Olsson
    0

    I'm having same issue. It's only when creating tags from the page itself it doesn't work ("Type to add tags..." + enter).
    If I right click and create from the tags-contanier it works fine.

     

    Chrome

    Adding the tag "Testå":
    /umbraco/api/uTagsyApi/GetAndEnsureNodeIdsForTags/?currentNodeId=2834&tags=Test%C3%A5

    To test it:
    /umbraco/api/uTagsyApi/GetTagNames/?nodeIds=5098
    "Testå"

    Same request from IE returns correct value.

     

    Internet Explorer 11
    Create same tag "Testå":
    /umbraco/api/uTagsyApi/GetAndEnsureNodeIdsForTags/?currentNodeId=2379&tags=      <-- NOTHING HERE

    To test it:
    /umbraco/api/uTagsyApi/GetTagNames/?nodeIds=5097
    "Test� [non UTF-8 character here]". If I go back to Chrome and make the same request it's still a diamond so it really is saved that way.

    To verify I added the tag "test123" in IE:
    /umbraco/api/uTagsyApi/GetAndEnsureNodeIdsForTags/?currentNodeId=2379&tags=test123


    If I debug angular *before I submit/save* and look at "currentTags" this is what I get (both IE and Chrome shows correct):
    angular.element($0).scope()
    [ 0: "test123", 1: "Testå", length: 2 ] 


  • Marcin Zajkowski 112 posts 585 karma points MVP 6x c-trib
    Jan 17, 2016 @ 20:42
    Marcin Zajkowski
    0

    Anyone struggled with the same problem and maybe found any solution? We faced this bug using cyrylic language in tags. When editors input the tag it looks good and is properly stored in doctype, but when we want to re-use this tag it's returning question marks instead of chars..

Please Sign in or register to post replies

Write your reply to:

Draft