1 Reply Latest reply on Nov 21, 2017 9:54 AM by Premiopolis

    JSON - unicode characters (hållo world!)

    filip_whojo Level 1

      Hi community,

       

      I'm trying to load external data via the new JSON data-driven animation feature in CC17.

      While this seems to work like a charm, more exotic data such as the string : "hällø" won't import correctly.

       

      Do I need to convert all of those unicode characters to their Javascript string equivalents, or is there a better way?

       

      Thanks so much!

      Filip

       

      eg.

       

      JSON file:

      {

      "test": "hållo",

      }

       

      AE text source expression:

      var data = footage("sample1.json").sourceData;

      data.test;

       

      Result:

      HÃ¥LLO