• 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: C++ string and UTF8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ string and UTF8


  • Subject: Re: C++ string and UTF8
  • From: Julien Palmas <email@hidden>
  • Date: Thu, 7 Apr 2005 10:57:33 +0900

well, it looks you are right.

Thanks.

On Apr 7, 2005, at 10:31 AM, daniel wrote:

Is it true that the c_str will "de-UTF8" a C++ string's characters? I'm guessing it probably doesn't, and you can use it combined with NSString "stringWithUTF8String" convenience method to make the conversion you require.

Daniel

On Apr 6, 2005, at 5:48 PM, Julien Palmas wrote:

I have a c++ string containing UTF8 data.
I would like to make a NSString out of it.
Obviously, the c_str() method will not work as I will lose all the non ascii characters.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: C++ string and UTF8
      • From: Julien Palmas <email@hidden>
References: 
 >C++ string and UTF8 (From: Julien Palmas <email@hidden>)
 >Re: C++ string and UTF8 (From: daniel <email@hidden>)

  • Prev by Date: Handling a very large NSTextView
  • Next by Date: Accessing undo stack?
  • Previous by thread: Re: C++ string and UTF8
  • Next by thread: Re: C++ string and UTF8
  • Index(es):
    • Date
    • Thread