• 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 -> char* ? Use -[NSString UTF8String].
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString -> char* ? Use -[NSString UTF8String].


  • Subject: Re: NSString -> char* ? Use -[NSString UTF8String].
  • From: Glenn Andreas <email@hidden>
  • Date: Tue, 26 Aug 2003 15:28:32 -0500

At 8:59 PM +0200 8/26/03, Jvrn Salewski wrote:
I sometimes get this error message, when i'm copy-pasting code snippets from
the web. The solution is always to delete every blank in the code and
writing them back again manually. Apparently the compiler is complayning
about non-ascii characters, not about the syntax.

Jvrn

Often, "copy from webpage" ends up using "non-breaking space" characters for indentation (I've seen this myself). They look like space characters, they smell like space characters, but brother, they ain't space characters.

Glenn Andreas email@hidden
Author of Macintosh games: Theldrow 2.3, Blobbo 1.0.2, Cythera 1.0.2
Be good, and you will be lonesome
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSString -> char* ? Use -[NSString UTF8String].
      • From: Chris Hanson <email@hidden>
References: 
 >Re: NSString -> char* ? Use -[NSString UTF8String]. (From: Jörn Salewski <email@hidden>)

  • Prev by Date: Re: Another memory question
  • Next by Date: Re: Formats supported by NSImage?
  • Previous by thread: Re: NSString -> char* ? Use -[NSString UTF8String].
  • Next by thread: Re: NSString -> char* ? Use -[NSString UTF8String].
  • Index(es):
    • Date
    • Thread