• 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: wstring
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wstring


  • Subject: Re: wstring
  • From: Chris Ridd <email@hidden>
  • Date: Mon, 22 Mar 2004 17:43:18 +0000

On 22/3/04 4:34 pm, Kevin Hoyt <email@hidden> wrote:

> Now you've got me curious...
>
> Doesn't Mac OS X support the "C-UTF-8" locale?
> If the locale is set to "C-UTF-8", what does it mean to do mbstowcs(),
> thus converting a UTF-8 string to wchar_t?
>
> The only way I know of to properly load up a wchar_t string is to use
> mbstowcs().  Unless mbstowcs() converts UTF-8 into a specific codepage, it
> must be a form of Unicode, we just don't know what that encoding is.
>
> Is there any reason Apple can not say what encoding is used for wchar_t
> strings?  This information is sometimes useful, if for no other reason, so
> we can talk about this with other people and not be ignorant :-)

There's always the libc source at www.opendarwin.org :-)

Cheers,

Chris
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: turning off error warning in XCode
  • Next by Date: Re: IB NSTextField & shadows
  • Previous by thread: Re: wstring
  • Next by thread: Re: wstring
  • Index(es):
    • Date
    • Thread