Re: Inserting Special Characters into a String
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