3 Replies Latest reply on Mar 9, 2010 12:57 AM by Harbs.

    Chinese characters displaying as square




      I am trying to update a text frame with following script. It works well for all ascii but if chinese characters are entered in text, it displays them as square. I have language pack installed on Indesign machine.


      //----script starts-----
      var myDocument = app.open(File('//'));
      var myTextFrame = objPage.textFrames.itemByID(tmp_frmid);
      var paragraph1 = myTextFrame.paragraphs.item(0);
      paragraph1.contents = "Hello ャンペー"

      //-----script ends ----


      This updates indd file to display



      What can be done so that unicode displays as it is.