[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Specifying unicode strings
From: |
Björn Gohla |
Subject: |
Re: Specifying unicode strings |
Date: |
Sun, 23 Sep 2001 18:24:23 +0200 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 23 September 2001 15:37, Richard Frith-Macdonald wrote:
> String s = [@"\" \\U0000\\U0001\\U0002\\"" propertyList];
>
> The propertyList method converts a text-based property-list
> representation to it's internal format ...
> So the literal string needs leading and trailing '\"' sequences to be a
> quoted string, and the
> backslashes within the string must be quoted to allow for the normal
> quoting performed by the
> compiler.
that would have to be:
String s = [@"\" \\U0000\\U0001\\U0002\"" propertyList];
^^^
- --
- --------------------
bill says: "this is where you go today!"
pub 1024D/834F4976 2001-01-07 Björn Gohla (Wissenschaftler, Weltbürger)
<b.gohla@gmx.de>
Key fingerprint = 9FF4 FEDA CCDF DA0E 14D5 8129 6C14 3C39 834F 4976
sub 1024g/29571FE2 2001-01-07
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7rgy9bBQ8OYNPSXYRAjVsAJ4k0j4/k0nUo1HlLmtIgjTomlxIXQCgoCFu
8X2m1pKLrknWb1IvlmO90Pw=
=L/Gv
-----END PGP SIGNATURE-----