On a side note, i feel that this is more a bug of quick look.
The unix file command correctly identifies the files as UTF8.
For a reason for not setting this attribute,
it not portable.
if i mail a UTF8 file to some one this attribute would be stripped.
i believe it is not supported on FAT32/NTFS partitions
quicklook is broken.... if it sees a UTF8 file it should behave
correctly, as the BOM characters are optional.
Steve
On May 18, 2008, at 11:39 AM, hardkrash wrote:
>
> :set bomb
>
> then save
>
> do quick look and see that quick look behaves.
>
> see :help bomb for more info.
>
> On May 18, 4:43 am, Nikola Knežević <
laladelausa...@...>
> wrote:
>> On 17 May 2008, at 10:57 , Nico Weber wrote:
>>
>>> Obvious suggestion: MacVim should have an option 'encodingxattr`
>>> that
>>> can have the values 'read' and 'write' (default 'read,write'). If
>>> 'write' is set, the com.apple.TextEncoding xattr is written when
>>> saving a file. When 'read' is set, the xattr is checked when
>>> reading a
>>> file.
>>
>> Maybe this should go in vim, not just MacVim?
>>
>> Cheers,
>> Nikola
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit
http://www.vim.org/maillist.php-~----------~----~----~----~------~----~------~--~---