• 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: creating classes on the fly ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating classes on the fly ??


  • Subject: Re: creating classes on the fly ??
  • From: Daniel Child <email@hidden>
  • Date: Wed, 26 Sep 2007 12:36:54 -0400

Well, my issue will be storing Japanese and Chinese data. So I guess my question is simply whether this discussion affects me if I use Python....

On Sep 22, 2007, at 2:03 PM, Clark Cox wrote:

On 9/22/07, Uli Kusterer <email@hidden> wrote:
On 22.09.2007, at 17:18, Stefan Arentz wrote:
You forgot to mention: crazy fast. Also, std::wstring will deal with
unicode just fine and Boost can provide serialization. If required.

wstring does UTF32 now?? Wow! I didn't know that.


I thought it still used 2-byte quantities and thus still worked on the wrong level,

wchar_t has always been 32-bit on MacOSX.

sometimes giving you the middle of a decomposed
character sequence.

32-bit vs. 16-bit has nothing to do with this, you can still incorrectly break a decomposed character sequence in UTF-32 just as easily as in UTF-16. The difference is, of course, in surrogate pairs.

Anyway, one would still have to normalize
strings, because I'm sure wstring's compare routines will consider
"ä" (lowercase 'A' umlaut) and a¨ (a followed by diaeresis as a
decomposed sequence) to be different.

Indeed, but for simple storage of the string, wstring is quite sufficient.



-- Clark S. Cox III 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


References: 
 >creating classes on the fly ?? (From: Daniel Child <email@hidden>)
 >Re: creating classes on the fly ?? (From: Thomas Engelmeier <email@hidden>)
 >Re: creating classes on the fly ?? (From: Daniel Child <email@hidden>)
 >Re: creating classes on the fly ?? (From: Thomas Engelmeier <email@hidden>)
 >Re: creating classes on the fly ?? (From: "Stefan Arentz" <email@hidden>)
 >Re: creating classes on the fly ?? (From: Uli Kusterer <email@hidden>)
 >Re: creating classes on the fly ?? (From: "Clark Cox" <email@hidden>)

  • Prev by Date: Re: creating classes on the fly ??
  • Next by Date: Textures Alpha blending problems with Transparent NSOpenGLView
  • Previous by thread: Re: creating classes on the fly ??
  • Next by thread: Re: creating classes on the fly ??
  • Index(es):
    • Date
    • Thread