• 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: NSString to const char
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString to const char


  • Subject: Re: NSString to const char
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 26 May 2008 10:05:26 -0700


On 26 May '08, at 8:02 AM, Steve Christensen wrote:

My understanding is that NSString (and CFStringRef) string constants can only use 7-bit ASCII characters

That was true in 10.4 and earlier; but in 10.5, GCC properly handles Unicode characters in string constants. Just make sure your editor is saving source files in UTF-8.


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSString to const char (From: Micha Fuhrmann <email@hidden>)
 >Re: NSString to const char (From: Steve Christensen <email@hidden>)

  • Prev by Date: Re: How hard is it to learn Cocoa - Survey ?
  • Next by Date: Re: Resizing a view to match the main NSWindow size?
  • Previous by thread: Re: NSString to const char
  • Next by thread: Crashes related to garbage collection?
  • Index(es):
    • Date
    • Thread