0 Replies Latest reply on Jun 17, 2015 7:45 AM by olivera95888366

    I am currently experiencing some problems with mac/pc encoding on my photoshop.

    olivera95888366

      I am trying to automate a few tasks using javascripts which involves encoding of accented characters. The result I am getting is different in pc compare to a mac. The javascript file is encoded in  BOM UTF-8 So there shouldn't be any different between the 2 devices.  Details below

       

       

      Trying to encode this name - "La Pocatière"

      PC encoding - La_20Pocati_C3_A8re (Expected Result)

      Mac encoding - La_20Pocatie_CC_80re

      var myname = encodeURIComponent(location[i]);

      exportFilename = myname.replace(/%25/g, "_") ;