>> I'm editing UTF-8 files on linux and got bitten by the unexpected BOM
>> character being inserted at the front of the file. 
> 
> The BOM character is not unexpected.

It was unexpected to me, and my parser application :-).

> SciTE is doing the right thing.

See the Dec 2006 thread for discussion of this. My conclusion: it is
optional, and just helps identify a file as UTF-8. By comparison Linux's
gedit doesn't insert it (it might preserve if already there - I didn't
test).

Anyway, once I understood what the encoding menu options meant, SciTE
was doing the right thing for me too. My email was just to add weight to
the opinions that the menu options could be renamed to avoid the
confusion I experienced:
  8-bit        -->    Default
  UTF-8        -->    UTF-8 With BOM
  UTF-8 Cookie -->    UTF-8 No BOM

"8-bit" could be re-written as "Whatever your properties specify". But
"Default" is snappier :-).

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

Reply via email to