encoding and exporting text (JS CS3 MAC and PC)
Hi -- I am trying to export text from InDesign as an ASCII file. But I am ending up with a zero K file.
var myX = new File(myTarget);
myX.encoding = "ASCII";
myX.lineFeed = "unix";
myX.open("w");
myX.write(myString);
myX.close();
I have success with this:
var myX = new File(myTarget);
myX.encoding = "UTF-8";
myX.lineFeed = "unix";
myX.open("w");
myX.write("\uFEFF" + myString);
myX.close();
But the person on the other end of the export says I need to convert UTF-8 to ASCII encoding.
Any help would be greatly appreciated.