• 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: unknown escape sequence '\@'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unknown escape sequence '\@'


  • Subject: Re: unknown escape sequence '\@'
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 7 Aug 2002 23:06:33 +0200

On Wednesday, August 7, 2002, at 10:40 , Jeremy Dronfield wrote:

static NSString *stringStart = @"\@\"";

... is causing me to get an 'unknown escape sequence' build warning.

Right. The \@ escape sequence is definitely unknown to me, and I would bet compiler has the same problem ;)

I've also been getting the same warning using a '\U' prefix to generate
Unicode characters.

Again right (this time with deep sigh). Although it would be very convenient if the \U escape sequence worked, it does not: only those printf-based ones are supported (and even that often wrongly).

The documentation says to do this, so what's going wrong?

I politely doubt: where there is a recommendation to use \@? what for?
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.

References: 
 >unknown escape sequence '\@' (From: Jeremy Dronfield <email@hidden>)

  • Prev by Date: Re: unknown escape sequence '\@'
  • Next by Date: Re: Cocoa development using Java - Suggested references
  • Previous by thread: Re: unknown escape sequence '\@'
  • Next by thread: NSScreen, CG and fullscreen bug?
  • Index(es):
    • Date
    • Thread