Re: how to insert special characters in strings?
Re: how to insert special characters in strings?
- Subject: Re: how to insert special characters in strings?
- From: j o a r <email@hidden>
- Date: Wed, 2 Mar 2005 20:42:51 +0100
On 2005-03-02, at 20.33, Luc Vandal wrote:
I know this is not really cocoa related, but does anyone know how to
insert special characters *such as the Command symbol) in strings
(NSString, char, etc.). Can I use the escape character '\'? Can I use
ASCII or do I have to use Unicode?
Something like this perhaps:
+ (NSString *) commandKeyCharacter
{
unichar tm[1] = {0x2318};
return [NSString stringWithCharacters: tm length: 1];
}
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden