Skip navigation.
 
mldo i have to convert each unichar on ppc and intel
FROM : Nick Rogers
DATE : Wed Apr 30 17:24:17 2008

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

Related mailsAuthorDate
mldo i have to convert each unichar on ppc and intel Nick Rogers Apr 30, 17:24
mlRe: do i have to convert each unichar on ppc and intel Jean-Daniel Dupas Apr 30, 17:58