From 172c81f3d02a240b5b4b8d7215bcfecfbf5fa9f3 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 20 May 2015 10:57:02 +1000 Subject: SCI_TARGETASUTF8 and SCI_ENCODEDFROMUTF8 implemented on Win32. From johnsonj. --- doc/ScintillaDoc.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index da63297bf..3a51cfb61 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -587,14 +587,14 @@ struct Sci_TextRange { }; -

Specific to GTK+ and Cocoa only: Access to encoded text

+

Specific to GTK+, Cocoa and Windows only: Access to encoded text

SCI_TARGETASUTF8(<unused>, char *s)
This method retrieves the value of the target encoded as UTF-8 which is the default encoding of GTK+ so is useful for retrieving text for use in other parts of the user interface, such as find and replace dialogs. The length of the encoded text in bytes is returned. Cocoa uses UTF-16 which is easily converted from UTF-8 so this method can be used to perform the - more complex work of transcoding from the various of encodings supported. + more complex work of transcoding from the various encodings supported.

SCI_ENCODEDFROMUTF8(const char *utf8, char *encoded)
-- cgit v1.2.3