• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to insert special characters in strings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Inter-class Dependent Keys
  • Next by Date: Re: Inter-class Dependent Keys
  • Previous by thread: Re: how to insert special characters in strings?
  • Next by thread: First day of week?
  • Index(es):
    • Date
    • Thread