How to code a NSString literal with UTF8?
How to code a NSString literal with UTF8?
- Subject: How to code a NSString literal with UTF8?
- From: David Hoerl <email@hidden>
- Date: Tue, 29 Mar 2005 22:17:55 -0500
The Xcode editor lets you define a file encoding as UTF8. You can
then type in a line like:
NSString *foo = @"blah blah";
where blah blah have Unicode characters in them with encoded as UTF8.
But, when I ask this string for its characters I get garbage back,
and length is not correct.
What would the best way to do this be?
david
_______________________________________________
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