FROM : glenn andreas
DATE : Wed Apr 13 00:57:11 2005
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_removed>
<http://www.gandreas.com/> oh my!
quadrium | build, mutate, evolve | images, textures, backgrounds, art
DATE : Wed Apr 13 00:57:11 2005
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_removed>
<http://www.gandreas.com/> oh my!
quadrium | build, mutate, evolve | images, textures, backgrounds, art
| Related mails | Author | Date |
|---|---|---|
| John Pattenden | Apr 12, 22:10 | |
| John Pattenden | Apr 13, 00:41 | |
| glenn andreas | Apr 13, 00:57 | |
| John Pattenden | Apr 13, 01:26 | |
| Douglas Davidson | Apr 13, 01:32 | |
| John Stiles | Apr 13, 01:36 | |
| John Pattenden | Apr 13, 02:00 | |
| John Pattenden | Apr 13, 02:38 | |
| Ben Kennedy | Apr 13, 02:42 | |
| John Stiles | Apr 13, 02:45 | |
| Aki Inoue | Apr 13, 07:23 | |
| Aki Inoue | Apr 13, 07:27 |






Cocoa mail archive

