• 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: display special characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: display special characters


  • Subject: Re: display special characters
  • From: Eric Schlegel <email@hidden>
  • Date: Thu, 18 Oct 2001 23:10:07 -0700

On Thursday, October 18, 2001, at 09:35 PM, Joshua Clements wrote:

is there a way to display this in a cocoa application since cocoa uses unicode?
i have tried to create a string with ascii encoding but still cannot get the special
characters to display.


The Unicode value for the Shift glyph is 0x21E7. See Events.h, kShiftUnicode constant. You'll still need to use a font that has this glyph; not all do, in fact probably just the .Keyboard font does.

-eric


References: 
 >Re: display special characters (From: Joshua Clements <email@hidden>)

  • Prev by Date: Narrowing in on NSTableView problem..
  • Next by Date: private methods?
  • Previous by thread: Re: display special characters
  • Next by thread: Re: Scroll View
  • Index(es):
    • Date
    • Thread