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

Re: Entering UniCode


  • Subject: Re: Entering UniCode
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 6 Feb 2004 11:09:33 -0800

On Feb 6, 2004, at 7:30 AM, Darrin Cardani wrote:

How does one enter UniCode characters into a string in Project Builder given the UniCode value? I know the syntax is something like "\U0064", but I can't seem to get it quite right, and I can't find anything in the docs about it. Any help would be appreciated.

NSString *windowTitle =
[NSString stringWithFormat:@"%@ %C %@", title, 0x2014, subTitle];

(note capital 'C') gives an em-dash...

(Thanks to either Bill Cheeseman or Doug Davidson. Bah! Thanks to both! :-)

mmalc
_______________________________________________
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: 
 >Entering UniCode (From: Darrin Cardani <email@hidden>)

  • Prev by Date: RE: [Q] NSScanner -> \t\t how to fix??
  • Next by Date: Re: Entering UniCode
  • Previous by thread: Re: Entering UniCode
  • Next by thread: Sending a CGI request and getting result
  • Index(es):
    • Date
    • Thread