• 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: Detecting Double Byte Input
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting Double Byte Input


  • Subject: Re: Detecting Double Byte Input
  • From: glenn andreas <email@hidden>
  • Date: Tue, 12 Apr 2005 17:57:11 -0500


On Apr 12, 2005, at 5:41 PM, John Pattenden wrote:

Is there a way to determine if double byte text input is active?

I need to make a special case for my code that does different things if regular text is being entered vs Japanese or some other Double Byte text.
thanks for any help



Given that Cocoa uses Unicode for it's user text input, there is no such thing as "regular text" vs "double byte text" - you get an NSString composed of unichars (disregarding, for the moment, surrogate pairs), so your question doesn't really make sense from a Cocoa point of view...


What exactly are you trying to accomplish?


Glenn Andreas                      email@hidden  <http://www.gandreas.com/> oh my! quadrium | build, mutate, evolve | images, textures, backgrounds, art

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Detecting Double Byte Input
      • From: John Pattenden <email@hidden>
References: 
 >Detecting Double Byte Input (From: John Pattenden <email@hidden>)

  • Prev by Date: Re: Order of instantiation within a NIB
  • Next by Date: Re: NSSpellChecker crashes after 64k words
  • Previous by thread: Detecting Double Byte Input
  • Next by thread: Re: Detecting Double Byte Input
  • Index(es):
    • Date
    • Thread