Razvan Adrian Bogdan wrote:
What do you think about changing OnUTF8KeyPress to OnUniKeyPress event
or just add the second one ?

Since the LCl is (or will be) UTF8 internally it makes sense to sent the OnUTF8KeyPress event. For UNIkey( which is no uni) always needs a conversion, which is some overhead only needed sot som ecases.

It would return UCS4/UTF32 character code which is 32 bit instead of
UTF8 char which is a string, if i understood correctly some other
languages (and libraries) also mix UTF8 and UTF16 with UTF32 single
character management for simplicity and better storage strategies.

I don't think so.

Marc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to