Re: Why Work at Encoding Level?

From: Richard Wordingham <richard.wordingham_at_ntlworld.com>
Date: Wed, 21 Oct 2015 19:13:19 +0100

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.

Richard.
Received on Wed Oct 21 2015 - 13:15:31 CDT

This archive was generated by hypermail 2.2.0 : Wed Oct 21 2015 - 13:15:32 CDT