[OS X TeX] [pdftk] MacOS Roman -> Western ISO Latin 9

Adam R. Maxwell amaxwell at mac.com
Sun Jan 4 16:22:12 EST 2009

On Jan 4, 2009, at 10:15 PM, Friedrich Vosberg wrote:

> On 04.01.2009, at 20.31, Adam R. Maxwell wrote:
>> Make sure your script isn't saved as UTF-16.
> TextWrangler displays UTF-8.
>>  If that looks okay, open it in a hex editor and see what the first  
>> line looks like, or use vim -b in Terminal.
> <feff>#!/bin/sh

> What is <feff>?

A Unicode byte order mark (which doesn't belong in UTF-8, since it has  
no concept of endianness).  This is why UTF-16 would cause problems,  
since the BOM precedes the shebang that tells the system how to  
execute the file.

Save it as ASCII or UTF-8 without BOM in TextWrangler and you should  
be all set.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2415 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20090104/1aa64ae0/attachment.p7s>

More information about the MacOSX-TeX mailing list