Re: Entering UniCode
Re: Entering UniCode
- Subject: Re: Entering UniCode
- From: Segher Boessenkool <email@hidden>
- Date: Sun, 8 Feb 2004 06:53:46 +0100
How does one enter UniCode characters into a string in Project
Builder given the UniCode value? I know the syntax is something like
"\U0064", but I can't seem to get it quite right, and I can't find
anything in the docs about it. Any help would be appreciated.
I don't believe there is any such syntax.
It gives me a warning that leads me to believe there's a way. It says:
incomplete universal-character-name
twice for a line containing @"\U0064", for example.
The correct syntax is \u0064 (note: lowercase) for 16-bit unicode;
\U00000064 for 32-bit unicode. Also note that 0064 is not allowed
by the C standard (the only codes smaller than 00a0 which are allowed
are the codes for $, @ and `).
Segher
_______________________________________________
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.