• 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
do i have to convert each unichar on ppc and intel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: do i have to convert each unichar on ppc and intel
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Re: Icons on the NSTabview
  • Next by Date: Re: do i have to convert each unichar on ppc and intel
  • Previous by thread: Re: Icons on the NSTabview
  • Next by thread: Re: do i have to convert each unichar on ppc and intel
  • Index(es):
    • Date
    • Thread