• 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: Inserting Special Characters into a String
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inserting Special Characters into a String


  • Subject: Re: Inserting Special Characters into a String
  • From: Ian was here <email@hidden>
  • Date: Mon, 11 Jul 2005 13:16:01 -0700 (PDT)

Here's the source code for inserting special
characters into a string for anyone who is interested:



char	diamondChar[] = { 0xe2, 0x99, 0xa6, nil };   //
UTF8

NSMutableAttributedString	*bulletedText =
[[NSMutableAttributedString alloc]
initWithString:[NSString
stringWithUTF8String:diamondChar] attributes:attDict];




--- Ian was here <email@hidden> wrote:

> You're right, the tool tip reveals all. Thanks
> again!
>
>
>
> --- James Housley <email@hidden> wrote:
>
> > Ian was here wrote:
> > > Clicking the Character Disclosure button next to
> > the
> > > "Character Info" shows the character along with
> > it's
> > > name: (e.g. name: THREE-D TOP-LIGHTED RIGHTWARDS
> > > ARROWHEAD). No codes though!?!
> >
> > You are right.  After clicking on a character the
> > tooltip will come up
> > with its value.  And atleast for me the left
> column
> > has numbers and across
> > the top does too.  Together they make the
> character
> > code.
> >
> > Jim
> >
> > --
> > /"\   ASCII Ribbon Campaign  .
> > \ / - NO HTML/RTF in e-mail  .
> >   X  - NO Word docs in e-mail .
> > / \
> >
>
-----------------------------------------------------------------
> > email@hidden      http://www.FreeBSD.org
> The
> > Power to Serve
> > email@hidden  http://www.TheHousleys.net
> >
>
---------------------------------------------------------------------
> > Your mouse has moved.
> > Windows NT must be restarted for the change to
> take
> > effect!
> >
> > Reboot now?  [OK]
> >
>
>
>
>
> ____________________________________________________
> Sell on Yahoo! Auctions – no fees. Bid on great
> items.
> http://auctions.yahoo.com/
>  _______________________________________________
> 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
>




____________________________________________________
Sell on Yahoo! Auctions – no fees. Bid on great items.
http://auctions.yahoo.com/
 _______________________________________________
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

  • Follow-Ups:
    • Re: Inserting Special Characters into a String (small nit being picked)
      • From: pjl <email@hidden>
References: 
 >Re: Inserting Special Characters into a String (From: Ian was here <email@hidden>)

  • Prev by Date: Re: Searching List Archives
  • Next by Date: Re: Customizing the "Not Applicable" marker in a tableview
  • Previous by thread: Re: Inserting Special Characters into a String
  • Next by thread: Re: Inserting Special Characters into a String (small nit being picked)
  • Index(es):
    • Date
    • Thread