From 65f72e8be173fcabd7fc1f756126f5e2c8c9199b Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 19 Jun 2017 12:10:18 +1000 Subject: The default encoding is now UTF-8. --- doc/ScintillaDoc.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index e43f2466c..7a7b4c5cb 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -3684,14 +3684,15 @@ struct Sci_TextToFind {

SCI_SETCODEPAGE(int codePage)
SCI_GETCODEPAGE → int
- Scintilla has some support for Japanese, Chinese and Korean DBCS. Use this message with + Scintilla supports UTF-8, Japanese, Chinese and Korean DBCS along with single byte encodings like Latin-1. + UTF-8 (SC_CP_UTF8) is the default. Use this message with codePage set to the code page number to set Scintilla to use code page information - to ensure double byte characters are treated as one character rather than two. This also stops - the caret from moving between the two bytes in a double byte character. - Do not use this message to choose between different single byte character sets: it doesn't do that. + to ensure multiple byte characters are treated as one character rather than multiple. This also stops + the caret from moving between the bytes in a multi-byte character. + Do not use this message to choose between different single byte character sets - use + SCI_STYLESETCHARACTERSET. Call with - codePage set to zero to disable DBCS support. The default is - SCI_SETCODEPAGE(0).

+ codePage set to zero to disable multi-byte support.

Code page SC_CP_UTF8 (65001) sets Scintilla into Unicode mode with the document treated as a sequence of characters expressed in UTF-8. The text is converted to the platform's @@ -3700,9 +3701,8 @@ struct Sci_TextToFind { horizontal space, such as Thai, will mostly work but there are some issues where the characters are drawn separately leading to visual glitches. Bi-directional text is not supported.

-

Code page can be set to 932 (Japanese Shift-JIS), 936 (Simplified Chinese GBK), - 949 (Korean Unified Hangul Code), 950 (Traditional Chinese Big5), or 1361 (Korean Johab) - although these may require installation of language specific support.

+

Code page can be set to 65001 (UTF-8), 932 (Japanese Shift-JIS), 936 (Simplified Chinese GBK), + 949 (Korean Unified Hangul Code), 950 (Traditional Chinese Big5), or 1361 (Korean Johab).

SCI_SETIMEINTERACTION(int imeInteraction)
SCI_GETIMEINTERACTION → int
-- cgit v1.2.3