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 (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/aki%40apple.com > > This email sent to a...@apple.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com