[OS X TeX] Leopard Quick Look & TeX
Mark Eli Kalderon
eli at markelikalderon.com
Fri Nov 30 22:16:29 CET 2007
On Nov 30 2007, at 20:36, Maarten Sneep wrote:
> 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
>> 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.
BBEdit can set and remove BOM. BUT it is unnecessary and undesirable
to do so. It is unnecessary since UTF-8 can be recognized without it.
It is undesirable since many *nix utilities choke on it.
More information about the macostex-archives