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: Nathan Day <email@hidden>
- Date: Sun, 6 Mar 2005 00:32:02 +1100
The way I do this is to use localization, I will write an equivalent ascii string in my @ string then since I use function the
<x-tad-bigger>NSLocalizedString</x-tad-bigger> for all strings that are going to be displayed to the user, in case I want to localize my program to another language, I can use the english
<x-tad-smaller>Localizable.strings file to insert any weird characters I want using the Character Palette if need be.
</x-tad-smaller>
On 03/03/2005, at 6:33 AM, 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?
Thanks!
_______________________________________________
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
_______________________________________________
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