tags:

views:

80

answers:

1

Hi,

I have an NSString *str = @"T%B3%C3%83";

where %C3 represents A with an umlut (I think), %B3 an m, %83 a superscript 3...

What is the best way to convert these percentages into the actual characters.

Thanks.

+1  A: 

use -stringByReplacingPercentEscapesUsingEncoding method in NSString.
P.S. However I don't know what encoding you must use to get results you've mentioned in your question (are you sure they're correct?)

Vladimir