• 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: newbie question re text field and special glyphs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie question re text field and special glyphs


  • Subject: Re: newbie question re text field and special glyphs
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 20 Sep 2004 20:24:18 -0700

on 04/09/20 17:01, Ken Victor at email@hidden wrote:

> display the appropriate glyphs for function keys, etc.

Several people responded when I asked this a few weeks ago, so I will teach
you what they taught me:

Unicodes for modifier key symbols:

            Decimal    Hex
Control        8963    0x2303
Option        8997    0x2325
Shift        8679    0x21e7
Command        8984    0x2318
Return        8617    0x21a9

To see more, open System Preferences > International > Input menu and check
Character Palette.  Then, click on your flag (Keyboard menu) and choose Show
Character Palette.  Finally, tab to the Unicode Table and browse through
characters.

Neither XCode nor CodeWarrior support unicode escapes in string constants
(and I can't seem to do it in Interface Builder either).  So, you have to
use an NSLocalizedString().  Here is a typical entry in your
Localizable.strings:

"Quit cmd-Q" = "Quit \U2318Q" ;

More information:

<http://www.cocoabuilder.com/archive/message/2004/3/19/102023>

<http://www.cocoadev.com/index.pl?AppleSpecificCodePoints>

<http://www.apple.com/macosx/features/fontbook/>


 _______________________________________________
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

References: 
 >newbie question re text field and special glyphs (From: Ken Victor <email@hidden>)

  • Prev by Date: Re: Creating Time Control?
  • Next by Date: NSArrayController subclass
  • Previous by thread: newbie question re text field and special glyphs
  • Next by thread: How do folks group things as per Address Book?
  • Index(es):
    • Date
    • Thread