How to filter none UTF8 chars from a NSString?

49 Views Asked by At

I got a String.And I need to convert this string to a NSString using UTF8 encoding . But the origin String may contain none utf8 chars.How to filter this utf8 chars?

0

There are 0 best solutions below