Skip navigation.
 
mlRe: (no subject)
FROM : Nick Zitzmann
DATE : Tue Jul 11 19:53:44 2006

On Jul 11, 2006, at 10:29 AM, 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


Don't use non-ASCII characters in CFString literals; they will not 
work. If you need to use non-ASCII characters in strings, either use 
the NSLocalizedString() macros, or write the string in hex or decimal 
in a unichar array and use +[NSString stringWithCharacters:length:] 
to turn the array into an NSString.

Nick Zitzmann
<http://www.chronosnet.com/>

Related mailsAuthorDate
ml(no subject) Ivan C Myrvold Jul 11, 18:29
mlRe: (no subject) Nick Zitzmann Jul 11, 19:53