Tom Hummel:

apparently Scite saves utf-8 encoded file with a BOM when the user chose
"Encoding->UTF-8" while it does not include a BOM when choosing
"Encoding->UTF-8 Cookie". This behaviour seems rather ambiguous since
I'd expect a BOM to written when I choose the option without the
"cookie" note.

  Your second sentence contradicts the first. Perhaps you meant
something different. Cookies are declarations at the start of the file
like
# -*- coding: utf-8 -*-

Scite also doesn't recognize utf8 encoded files when there's no BOM. I'd
like to see Scite to switch to UTF-8 mode when it detects a UTF-8 code
point while loading which is outside of the ASCII range. This would make
working with utf8 encoded text much much easier.

  Many encodings use code points outside the ASCII range. If you want
to default to UTF-8 then use code.page=65001. Every UTF-8 file is also
valid when interpreted as, for example, ISO-8859-1 commonly used in
Europe.

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

Reply via email to