do i have to convert each unichar on ppc and intel
do i have to convert each unichar on ppc and intel
- Subject: do i have to convert each unichar on ppc and intel
- From: Nick Rogers <email@hidden>
- Date: Wed, 30 Apr 2008 20:54:17 +0530
hi,
I'm using:
[NSString stringWithCharacters:gptEntry.partName length:36];
where gptEntry struct have been filled in from the disk.
The string shows correct on ppc, while shows garbage on intel.
So how can I convert an entire such unichar array to correct-endian
format?
Is there any built-in support?
Thanks,
Nick
_______________________________________________
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