diff options
author | Neil <nyamatongwe@gmail.com> | 2020-06-24 15:00:50 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-06-24 15:00:50 +1000 |
commit | 69d678787645b2dd7d0cd40db4aa5c538ab13f9b (patch) | |
tree | 2058ecc0057a30473b082e2cd08a5f766e4eba79 /cocoa/ScintillaCocoa.h | |
parent | b047c81396af14e5497d969b37b1df9d67d09d17 (diff) | |
download | scintilla-mirror-69d678787645b2dd7d0cd40db4aa5c538ab13f9b.tar.gz |
Converting between UTF-8 and current encoding.
Allows platform-independent code to be written just to handle Unicode.
Diffstat (limited to 'cocoa/ScintillaCocoa.h')
-rw-r--r-- | cocoa/ScintillaCocoa.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h index b94a30aa2..e75efffef 100644 --- a/cocoa/ScintillaCocoa.h +++ b/cocoa/ScintillaCocoa.h @@ -182,6 +182,9 @@ public: NSPoint GetCaretPosition(); + std::string UTF8FromEncoded(std::string_view encoded) const override; + std::string EncodedFromUTF8(std::string_view utf8) const override; + static sptr_t DirectFunction(sptr_t ptr, unsigned int iMessage, uptr_t wParam, sptr_t lParam); NSTimer *timers[tickPlatform+1]; |