I’m trying to open a text file created with AppleScript, in FT. I get the following error:
“The document ‘.txt’ could not be opened. The text encoding of the contents couldn’t be determined.”
- If I try to open with TextEdit, TextMate, or SublimeText 2, it works fine.
file -I <filename>confirms the encoding is “text/plain; charset=iso-8859-1”
- If I manually change the encoding to UTF-8 using
iconv -f, it can be opened in FT
Am I doing something wrong in my script, or should FT be able to open this file?