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

Inserting Special Characters into a String


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

Does anyone know of a way of inserting non-ascii
characters into a string. I've tried several ways and
keep getting compiler warnings. An NSTextView handles
special characters nicely, but my attributed string
and character arrays don't.



char		checkChar = '?';
char		bulletChar = '•';

or

NSAttributedString	*checkChar = [[[NSAttributedString
alloc]initWithString:@"?"];
NSAttributedString	*bulletChar = [[[NSAttributedString
alloc] initWithString:@"•"] ;



Thanks




____________________________________________________
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
      • From: James Housley <email@hidden>
  • Prev by Date: Re: Why does this leak memory?
  • Next by Date: Re: Developing an iPhoto plugin for iPhoto books
  • Previous by thread: Re: Cocoa-Java Bridge collapse
  • Next by thread: Re: Inserting Special Characters into a String
  • Index(es):
    • Date
    • Thread