Sylvain Brunerie
2010-06-11 12:48:23 UTC
Hi,
First, please excuse me if Im didnt get something (and please excuse my
English, which may not be perfect), but here are my thoughts concerning
encoding matters in SciTE.
I like the idea of selecting the encoding by checking the presence of
coding:utf-8 (or something like that) in the first two lines of the file,
though I'm wondering why we never use the Linux file command, for example,
or something else (native) based on the same principle, to determine the
encoding of the file without asking anything to the user.
The only real issue concerning encoding in SciTE is about default
encoding. When I create a new file, I want it to be UTF-8 encoded, so that I
could write some special characters that ISO-8859 doesn't support, but the
default in SciTE seems to be ISO-8859 encoding. Therefore, I use the
code.page property: when I set it to 65001, the default encoding turns to
UTF-8, that's perfect. The problem now is that I cannot anymore open files
with the ISO-8859 encoding. Indeed, in the Encoding menu, the first item
represent the default encoding, and the other ones represent UTF-8 and
UTF-16 encodings. So the only way to be able to select ISO-8859 encoding in
this menu is to select it as the default encoding Am I wrong?
Thank you for taking the time to read this message and maybe answer to it.
:)
And, by the way, thank you very much for making SciTE, IMHO the best
lightweight and functional text editor (especially when encodings will be
easier to handle !).
Regards,
Sylvain Brunerie
http://innsbay.toile-libre.org
First, please excuse me if Im didnt get something (and please excuse my
English, which may not be perfect), but here are my thoughts concerning
encoding matters in SciTE.
I like the idea of selecting the encoding by checking the presence of
coding:utf-8 (or something like that) in the first two lines of the file,
though I'm wondering why we never use the Linux file command, for example,
or something else (native) based on the same principle, to determine the
encoding of the file without asking anything to the user.
The only real issue concerning encoding in SciTE is about default
encoding. When I create a new file, I want it to be UTF-8 encoded, so that I
could write some special characters that ISO-8859 doesn't support, but the
default in SciTE seems to be ISO-8859 encoding. Therefore, I use the
code.page property: when I set it to 65001, the default encoding turns to
UTF-8, that's perfect. The problem now is that I cannot anymore open files
with the ISO-8859 encoding. Indeed, in the Encoding menu, the first item
represent the default encoding, and the other ones represent UTF-8 and
UTF-16 encodings. So the only way to be able to select ISO-8859 encoding in
this menu is to select it as the default encoding Am I wrong?
Thank you for taking the time to read this message and maybe answer to it.
:)
And, by the way, thank you very much for making SciTE, IMHO the best
lightweight and functional text editor (especially when encodings will be
easier to handle !).
Regards,
Sylvain Brunerie
http://innsbay.toile-libre.org
--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-***@googlegroups.com.
To unsubscribe from this group, send email to scite-interest+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-***@googlegroups.com.
To unsubscribe from this group, send email to scite-interest+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.