Weird problems with escaping
Weird problems with escaping
- Subject: Weird problems with escaping
- From: Mark Munz <email@hidden>
- Date: Mon, 19 Apr 2004 10:59:38 -0600
I'm running into a weird problem with escaping. When I using a string
like the following:
@"\\x11|\\x{1212}"
it shows up in the debugger as "\\xD1|\\xD0|\\x{1011}|\\x{2022}"
(double backslashes)
However, if I use a single backslash:
@"\x11|\x{1212}"
The compiler complains that the second entry doesn't have a valid hex
value (trying to interpret \xHH).
Am I missing something obvious here? It in the first example, the
compiler isn't escaping (\\ should be single \) and in the second
example, the compiler is escaping (choking on \x{2022}). There doesn't
seem to be a way to get a string that is "\x11|\x{1212}".
Any insight is appreciated.
Mark Munz
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.