Re: How to convert NSString to wstrings?

2008-11-06 Thread Charles Steinman
Google is your friend: http://www.google.com/search?client=safari&rls=en&q=nsstring+wstring&ie=UTF-8&oe=UTF-8 Cheers, Chuck - Original Message > From: Arun <[EMAIL PROTECTED]> > To: cocoa-dev@lists.apple.com > Sent: Thursday, November 6, 2008 9:34:

Re: How to convert NSString to wstrings?

2008-11-06 Thread Dave Carrigan
On Nov 6, 2008, at 9:34 AM, Arun wrote: what is the best way of converting NSString into wstring? Have a look at the -cStringUsingEncoding selector. -- Dave Carrigan [EMAIL PROTECTED] Seattle, WA, USA PGP.sig Description: This is a digitally signed message part ___

Re: How to convert NSString to wstrings?

2008-11-06 Thread Jason Coco
On Nov 6, 2008, at 12:34 , Arun wrote: Hi All, what is the best way of converting NSString into wstring? I've never used mbstowcs() type functions, but I would imagine that's how you would do it. First, convert the NSString to a C string with the appropriate encoding, then use mbstowcs w

How to convert NSString to wstrings?

2008-11-06 Thread Arun
Hi All, what is the best way of converting NSString into wstring? Thanks in advance Arun KA ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev