3. Watch how you're using Unicode buffers. On PPC builds, -
[NSString initWithData:encoding:] with NSUnicodeStringEncoding
expects the data to be in big-endian format if there is no BOM; on
Intel builds, it'll be expected to be in little-endian format if
there is no BOM.
Actually, "external" UTF-16 character buffers (which is what this
method expects) are always big-endian in the absence of a BOM.
However, "internal" buffers (unichar *) are always native endianness.
Ali
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden