• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: (no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)


  • Subject: Re: (no subject)
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 11 Jul 2006 11:53:44 -0600


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/>




_______________________________________________ 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>)

  • Prev by Date: Re: Cocoa bindings with NSUserDefaultsController
  • Next by Date: Re: non-ASCII characters in CFString literal [Was: (no subject)]
  • Previous by thread: Re: Norwegian characters in some Objective-C code (was No subject)
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread