Subject: How to detect curly quotes


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?



Cocoa-dev mailing list (Cocoa-dev@xxxxxxxxxxxxxxx)

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

Help/Unsubscribe/Update your Subscription:

This email sent to maillists@xxxxxxxxx