• 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: Unicode Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode Problem


  • Subject: Re: Unicode Problem
  • From: Andreas Mayer <email@hidden>
  • Date: Wed, 28 May 2003 17:47:35 +0200

Am Mittwoch, 28.05.03 um 16:58 Uhr schrieb Carl Norum:

What's missing here?

If you specify an "o" you'll get an "o", no matter what font you selected. If the specified character does not exist in the selected font, the system uses another one that contains that character.

So instead of the box I want, [...]

You need to find out the unicode code point of that character. 0x274F, for instance, is "lower right drop-shadowed white square". The Character Palette, that you can enable in your keyboard menu, is quite a nice tool to find glyphs, characters and code points.

[NSString stringWithFormat:@"%C", 0x274F]

should give you an NSString with the box mentioned above (found in the archives - not tested!)


bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Unicode Problem (From: Carl Norum <email@hidden>)

  • Prev by Date: Re: Unicode Problem
  • Next by Date: Re: Where in a prefPane can I do some polling, and then update the UI?
  • Previous by thread: Re: Unicode Problem
  • Next by thread: Window menu customization
  • Index(es):
    • Date
    • Thread