Why Work at Encoding Level?
richard.wordingham at ntlworld.com
Wed Oct 21 13:13:19 CDT 2015
On Wed, 21 Oct 2015 14:16:07 +0100
Daniel Bünzli <daniel.buenzli at erratique.ch> wrote:
> Le mercredi, 21 octobre 2015 à 04:37, Mark Davis ☕️ a écrit :
> > If you're not, the question is relevant.
> I'm not disputing the question, I'm disputing trying to give it a
> defined answer. Even if your string is UTF-16 based these problems
> can be solved by providing proper abstractions at the library level
> and ask clients to handle the problem *once* when you inject the
> UTF-16 strings in your abstraction which can then operate in a
> "clean" world where these questions do not arise.
That sounds good, but would you please talk me through how you apply it
in the TSF method InsertTextAtSelection. Remember that the user may
have switched input method several times.
More information about the Unicode