Re: non-ASCII characters in CFString literal [Was: (no subject)]
Re: non-ASCII characters in CFString literal [Was: (no subject)]
- Subject: Re: non-ASCII characters in CFString literal [Was: (no subject)]
- From: Antonio Nunes <email@hidden>
- Date: Tue, 11 Jul 2006 17:40:38 +0100
On 11 Jul 2006, at 17:29, Ivan C Myrvold wrote:
I get the following warning when I tries to use norwegian
characters. How can I avoid the warning?
[[row validateInput] setObject:@"Du har skrevet inn feil navn i
Utføres av!" forKey:@"utforesav"];
warning: non-ASCII character in CFString literal
Have a look at stringWithUTF8String
Example of use:
NSString *myString = [NSString stringWithUTF8String:"%
ƒÂÚÂÎßÛ†–ƒ∆\n"];
-António
-----------------------------------------
Accepting others as they are
brings a wonderful freedom
to your own mind.
--The Peace Formula
-----------------------------------------
_______________________________________________
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
References: | |
| >(no subject) (From: Ivan C Myrvold <email@hidden>) |