How do I convert a wstring to a NSString

Posted by Harald Maassen on Stack Overflow See other posts from Stack Overflow or by Harald Maassen
Published on 2010-03-26T10:48:12Z Indexed on 2010/03/26 10:53 UTC
Read the original article Hit count: 605

Filed under:
|
|

I tried [NSString stringWithUTF8String:(const char*)(myWString.c_str())] but that returns a single character string.

This is on the iPhone by the way, if that matters any :)

© Stack Overflow or respective owner

Related posts about c++

Related posts about objective-c