Tom Hummel:
Of course I'd expect Scite to write a BOM when I choose "UTF-8 Cookie"
Why would you want both a BOM and a cookie? They achieve the same objective in different ways.
and I do not expect a BOM when I choose "UTF-8" in the options menu.
OK, our expectations differ.
Neither me (Unicode guru) yet this simple editor for windows does a fairly good job at detecting utf8 encoded files without a BOM. source code: http://www.flos-freeware.ch/zip/np2src.zip The file 'Edit.c' is interesting here.
This code assumes (depending on settings) that anything that can be validly interpreted as UTF-8 is UTF-8. Not an assumption that I think is safe.
Neil _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
