Re: Remove characters from string
Re: Remove characters from string
- Subject: Re: Remove characters from string
- From: "Gary L. Wade" <email@hidden>
- Date: Thu, 17 Mar 2011 11:12:37 -0800
- Thread-topic: Remove characters from string
Is it possible you're assuming text being given to you is in ASCII format
but is actually in UTF-8 or some other encoding? Try looking at the text
you have in other encodings before trying to remove characters.
On 03/17/2011 6:03 AM, "Heizer, Charles" <email@hidden> wrote:
>Hello,
>I would like to know how to remove certain characters from a NSString. The
>characters are "©". I thought I could just use encodings and convert the
>string using NSASCIIStringEncoding but that did not work and I'm not sure
>what the car codes are for these as well.
>
>Thanks,
>Charles
_______________________________________________
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