[OS X TeX] Leopard Quick Look & TeX

Maarten Sneep maarten.sneep at xs4all.nl
Fri Nov 30 21:36:59 CET 2007


On 30 nov 2007, at 15:51, Kino wrote:

>
> On 2007-11-30, at 7:09 AM, Herbert Schulz wrote:
>
>> I read that before and it didn't seem to do anything. Tried it  
>> again, now, and still, using Quick Look on a file I know is UTF-8  
>> is being misread.
>
> If you have saved the file once in TextEdit, Quick Look will  
> displayed it correctly. See
> <file:///Developer/Examples/AppKit/TextEdit/README.rtf>
>
>
> Alternatively set the attribute manually.
>
> xattr -w com.apple.TextEncoding UTF-8 <file-path>

For mee it seems to work, and I never save utf-8 with a BOM. It would  
be a good idea if text editors read and set this file attribute.

Maarten - off to write to Barebones.



More information about the macostex-archives mailing list