The main use of code pages in Scintilla/SciTE on Windows is for discovering the number of bytes in a multibyte character set through calling IsDBCSLeadByteEx, except for 65001 (UTF-8) which is handled specially. Windows only supports the code pages 932 (Japanese Shift-JIS), 936 (Simplified Chinese), 949 (Korean Unified Hangul Code), 950 (Traditional Chinese), and 1361 (Korean Johab) for IsDBCSLeadByteEx. On GTK+, the only valid values for code page are 0 (single byte), 1 (multi-byte), and 65001 (UTF-8).
I'll be documenting these values for Scintilla/SciTE and think that all other values should be ignored. This should avoid problems with people using invalid values as occurred in this thread. Neil _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
