Re: Receiving unicode keyboard input
Re: Receiving unicode keyboard input
- Subject: Re: Receiving unicode keyboard input
- From: Aki Inoue <email@hidden>
- Date: Tue, 26 Jul 2011 16:12:11 -0700
Bill,
You cannot directly access the Cocoa text handling method inside the NPAPI plugins.
Instead the NPAPI's Cocoa extension defines the composition handling logic by itself.
Refer to the 'Text Input' section in this document <https://wiki.mozilla.org/NPAPI:CocoaEventModel>.
Aki
On 2011/07/23, at 8:59, Bill Appleton wrote:
> Hi All,
>
> For an NPAPI plugin we need to receive Unicode keyboard input. We are
> calling interpretKeyEvents and receiving the insertText message, but if I
> type option-e (for example) we are not getting the accented-e character.
>
> Can anyone shed some light on the right way to get unicode characters?
> Unfortunately we cannot use all the core Text stuff because (as mentioned)
> this is an NPAPI plugin and we don't even have access to the output view or
> window.
>
>
> Best,
>
> Bill Appleton
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden