Valeriy Van
Valeriy Van

Reputation: 1865

Strange output of LLDB

(char *) text = 0x0dbf3c50 "\x91\xde\x91\xf4\x90\xc1\x90\xc0\x91\xff\x91\xfc\x91\xf1\x91\xfa\x90\xcd\x91\xfc\x91\xf1\x90\xcea\x91\xf3\x91\xf4\x90\xc1\x90\xc0\x91\xf9\x90\xcea\x91\xd1\x91\xfa\x91\xf4\x91\xfb\xd1"
What does \xcea really mean?
Supposed to be \xce and a in a raw. I expect valid C (Obj-C) literal to be printed in console. If I put this literal into C source code, xcode warns that Hex escape sequence out of range. So something is wrong with this literal.
Version of Xcode is 4.6.

Upvotes: 1

Views: 299

Answers (1)

user529758
user529758

Reputation:

These are hexadecimal escape codes. \xcea is actually two characters: one of which the numeric code is 0xce and the character 'a'.

Upvotes: 1

Related Questions