• 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
Re: Xcode-users Digest, Vol 7, Issue 153
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Xcode-users Digest, Vol 7, Issue 153 (From: Ben Staveley-Taylor <email@hidden>)

  • Prev by Date: Re: Xcode constantly crashing with Perforce & 10.6.3
  • Next by Date: Re: .png images getting corrupted?
  • Previous by thread: Re: Xcode-users Digest, Vol 7, Issue 153
  • Next by thread: Re: Xcode-users Digest, Vol 7, Issue 153
  • Index(es):
    • Date
    • Thread