2 Replies Latest reply on Sep 16, 2013 1:55 AM by Bill joy

    Special Character problem on MAC OSX

    Bill joy Level 1

      Hi Experts

       

      I am using InDesign on MAC OSX.

      I have a script by which we apply Special Character in my  indesign document when I use indesign on window. But when I open this .jsx file on mac osx then it change the special character.

      How apply these  special character on mac?

      My script is :

      #target indesign

      var myDocument=app.activeDocument;

      var myTextFrame=myDocument.spreads.item(0).textFrames.add();

      myTextFrame.geometricBounds =["10","20","100","200"];

      myTextFrame.contents ="This is second page test...\r\r\r                                                                                \u2122 this is trademark symbol\r\r\r         © this is copyright symbol                                         \r     \r         \u2022 this is bullet symbol\r    \r        \u2026 this is ellipsis symbol\r\r         ¶  this is paragraph symbol\r\r        ®  this is registered trademark symbol\r\r        §   this is section symbol       \r\r"

      ;

       

      On Mac OSX  when I open this script using ExtendScript Toolkit  then

       

      Special character ¶   change with   ∂   and    ®  change with   Æ

      and  § change with ß.

       

      How apply these Special character on mac osx ?

       

      Thanks.



        • 1. Re: Special Character problem on MAC OSX
          Laubender Adobe Community Professional & MVP

          @Bill – don't know what's going on on your side.

          Your code is working for me.

           

          Tested with InDesign CS5 on Mac OSX 10.6.8.

           

          Uwe

           

          Edit: here a screen shot after running your snippet:

           

          Bildschirmfoto 2013-09-16 um 10.33.58.png

           

          Message was edited by: Laubender

          • 2. Re: Special Character problem on MAC OSX
            Bill joy Level 1

            Thanks Laubender for  quick reply.

             

            When I open this script .jsx file on mac it change special character?

            I am also using mac osx 10.6.8 and InDesign CS5.5

             

            Problem is :

            Write this script in any text  file and change extention .txt to ,jsx on window.

            Then open this file on window, It is correct.

            But when open this .jsx file on mac then it change special character.

             

            Is it ascii character problem or texteditior problem?

            What is reason I do not understand?

            Why Special character change on mac ?

             

            Thanks.