Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は NSString *str = @"T%B3%C3%83"; を持っています。
ここで、%C3 は A をウムラット (私が思うに) で表し、%B3 は m、%83 は上付き文字 3 を表します...
これらのパーセンテージを実際の文字に変換する最良の方法は何ですか?
ありがとう。
-stringByReplacingPercentEscapesUsingEncodingNSStringのメソッドを使用します。 PSしかし、あなたがあなたの質問で言及した結果を得るためにあなたがどのエンコーディングを使わなければならないかわかりません(あなたはそれらが正しいと確信していますか?)
-stringByReplacingPercentEscapesUsingEncoding