On Jun 14, 2013, at 7:08 PM, Pat Bensky wrote:
> I'm trying to import a tagged text file which contains Arabic characters. I changed the start file tag from
>
> <ASCII-MAC>
>
> to
>
> <UNICODE-MAC>
>
> but this does not work - it doesn't interpret the tags AT ALL! It just imports the file as plain text, tags and all.
>
> Is there something else I need to do to get this to work?
I believe one must also update the invisible ``B.O.M.'' to reflect this, which is often a struggle. If it's not correctly set in the file, it interferes w/ InDesign seeing the first angle bracket which it uses to determine whether or no a file is eligible to be processed as tagged text.
Usually I wind up doing something like:
- pasting the foreign text into InDesign
- exporting to an appropriate tagged text file
- opening the new file in Textwrangler or Smultron or Fraise or TeXshop
- pasting in the new text
- zapping gremlins (in Textwrangler) and fixing the line endings
- saving
The longest 4 hours of my life was spent trying to debug why Adobe InDesign was crashing when trying to import an XML file which purported to be ISO-8359-1 (turns out it was really UTF-8).
William
--
William Adams
senior graphic designer
Fry Communications
Sphinx of black quartz, judge my vow.