Re: Xcode-users Digest, Vol 7, Issue 153
Re: Xcode-users Digest, Vol 7, Issue 153
- Subject: Re: Xcode-users Digest, Vol 7, Issue 153
- From: Chris Espinosa <email@hidden>
- Date: Mon, 12 Apr 2010 11:10:07 -0700
On Apr 12, 2010, at 3:56 AM, Ben Staveley-Taylor wrote:
> I'm still baffled by the need for a locale. I thought the whole point of UTF-32 (which is what wchar_t strings boil down to) was to get rid of locale issues. I think I'll raise a bug on this one.
The C++ specification does not proscribe an encoding (or a specific data size) for the wchar_t data type, which is what makes it essentially nonportable. You can use wchar_t to express UTF-32 if your sizeof(wchar_t) is 4, but on some systems (like Windows), sizeof(wchar_t) is 2, which and you have to use UCS-2 or UTF-16 as the character encoding.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden