Darren Cook wrote:
> I'm editing UTF-8 files on linux and got bitten by the unexpected BOM
> character being inserted at the front of the file. 

(preface my comments with "to the best of my limited knowledge" ;)

The BOM character is not unexpected.
SciTE is doing the right thing.

An application that is unicode-aware should deal with the BOM
transparently and not show it in an edit window.

In what way does what bite you?
Is it your editor application that needs fixing?

A side note:
in python 2.5 there is a new encoding called utf_8_sig.
codecs now writes a BOM when you create a file with this encoding.
(with the old utf_8 encoding it did not write a BOM,
 you had to do it yourself)

- jh
Send instant messages to your online friends http://au.messenger.yahoo.com 

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to