• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Receiving unicode keyboard input
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Receiving unicode keyboard input
      • From: Bill Appleton <email@hidden>
References: 
 >Receiving unicode keyboard input (From: Bill Appleton <email@hidden>)

  • Prev by Date: Re: Dialog Command Keys
  • Next by Date: 1. Creating a TCP server? (Rick Mann)
  • Previous by thread: Receiving unicode keyboard input
  • Next by thread: Re: Receiving unicode keyboard input
  • Index(es):
    • Date
    • Thread