diff options
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r-- | doc/ScintillaDoc.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 46039ed54..1749fa1f9 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -585,12 +585,14 @@ struct Sci_TextRange { }; </pre> - <h3 id="EncodedAccess">GTK+-specific: Access to encoded text</h3> + <h3 id="EncodedAccess">Specific to GTK+ and Cocoa only: Access to encoded text</h3> <p><b id="SCI_TARGETASUTF8">SCI_TARGETASUTF8(<unused>, char *s)</b><br /> 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. </p> <p><b id="SCI_ENCODEDFROMUTF8">SCI_ENCODEDFROMUTF8(const char *utf8, char *encoded)</b><br /> |