4 Replies Latest reply on Feb 18, 2014 5:55 AM by nikhon

    Preloader - Character Encoding on external script files

    nikhon

      Hi,

       

      I have found a slight bug in the generated preloader file _edgePreload.js.

       

      Basically when the preloader creates the script elements, it doesnt set the charset attribute which causes issues with foriegn characters in certain browsers including FireFox.

       

      This can be found on line 11 & line 2 of the minifed published version of the  _edgePreload.js file.

       

      var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;

       

      The following should also be included after the code above to fix the problem.

       

      k.type="text/javascript";k.charset="utf-8"

       

      Is this something that can be include in the next update? or is there any other alternate suggests insted of manually having to add this to the _edgePreload.js each time its published.

       

      Thanks,

      Nik