• 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
How to detect curly quotes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to detect curly quotes


  • Subject: How to detect curly quotes
  • From: Steve Cronin <email@hidden>
  • Date: Tue, 31 Mar 2009 17:21:17 -0500

Folks;

I'm reading input from a text file (stringWithContentsOfFile) I have no control over.
Testing is going well until a I encounter a phrase is wrapped in curly quotes.
(Note phrases wrapped in straight quotes are fine)


Without trying to digest the entirety of the Mac OS Text Encoding system, can someone suggest a simple way to detect these characters?

Thanks
Steve


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to detect curly quotes
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Best way to modify user input into NSTextView
  • Next by Date: Re: How to detect curly quotes
  • Previous by thread: Re: Network Errors
  • Next by thread: Re: How to detect curly quotes
  • Index(es):
    • Date
    • Thread