Re: unknown escape sequence '\@'
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.