• 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 and char *
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString and char *


  • Subject: Re: NSString and char *
  • From: Finlay Dobbie <email@hidden>
  • Date: Sun, 12 Feb 2006 10:27:59 +0000

On 2/12/06, Jordan Krushen <email@hidden> wrote:
> Giving you the benefit of the doubt that you're not using Tiger
> (although this would still be in the NSString documentation), if you
> want an autoreleased string, just use +stringWithCString:

stringWithCString has been "not recommended" for some time, since it
can assume different encodings on different systems. You should
specify what encoding the C string is in.

 -- Finlay
 _______________________________________________
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: 
 >NSString and char * (From: "Lars Elden" <email@hidden>)
 >RE: NSString and char * (From: "Lars Elden" <email@hidden>)
 >Re: NSString and char * (From: Jordan Krushen <email@hidden>)

  • Prev by Date: RE: NSString and char *
  • Next by Date: Custom NSMenu on NSSearchField question
  • Previous by thread: Re: NSString and char *
  • Next by thread: Re: objc_msgSend problems on x86
  • Index(es):
    • Date
    • Thread