• 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
String encoding details was: controlTextDidChange, backspace possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

String encoding details was: controlTextDidChange, backspace possible?


  • Subject: String encoding details was: controlTextDidChange, backspace possible?
  • From: Andreas Mayer <email@hidden>
  • Date: Wed, 15 Sep 2004 03:48:48 +0200


Am 15.09.2004 um 03:11 Uhr schrieb Frederick Cheung:

16bits isn't actually enough to encode all unicode characters.

I know.

Any character whose unicode scalar value is > 0xFFFF is represented as a surrogate pair.

But wouldn't that be an implementation detail of the encoding? I would have expected that I'm not even able to get to these without using some sub-string level stuff.


I'm not 100% sure if it's nonsensical or illegal.

Well, Douglas already confirmed that the text system will be able to handle it. That's good enough for me. :)


Now, Really. What API would one use to handle those cases?


Andreas

_______________________________________________
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: String encoding details was: controlTextDidChange, backspace possible?
      • From: Aki Inoue <email@hidden>
References: 
 >controlTextDidChange, backspace possible? (From: "Peter Karlsson" <email@hidden>)
 >Re: controlTextDidChange, backspace possible? (From: j o a r <email@hidden>)
 >Re: controlTextDidChange, backspace possible? (From: Frederick Cheung <email@hidden>)
 >Re: controlTextDidChange, backspace possible? (From: Andreas Mayer <email@hidden>)
 >Re: controlTextDidChange, backspace possible? (From: Frederick Cheung <email@hidden>)
 >Re: controlTextDidChange, backspace possible? (From: Andreas Mayer <email@hidden>)
 >Re: controlTextDidChange, backspace possible? (From: Frederick Cheung <email@hidden>)

  • Prev by Date: Re: Distributing vs. re-using source code?
  • Next by Date: Breaking source file into multiple files?
  • Previous by thread: Re: controlTextDidChange, backspace possible?
  • Next by thread: Re: String encoding details was: controlTextDidChange, backspace possible?
  • Index(es):
    • Date
    • Thread