I have a script that massages some text, then puts it into a number
of different files with various headers and footers.
Simplfied example:
set page1 to theName & retutrn & theAddress & theText & page1Footer
set page 2 to otherName & myEmail & theText & page2Footer
So most of these work fine, but one out of the whole script creates a
file apparently written in Unicode. Scrolling through it with an
arrow key requires two jumps per character, pasting into Word
produces organized gibberish, and pasting onto a web page results in
only the first character appearing.
What is it about that one page...? Or more to the point, when does
Applescript automatically turn text into Unicode?
--
Bill Steele
[log in to unmask]