NSUTF8StringEncoding returns nil NSString

前端 未结 2 635
闹比i
闹比i 2020-12-20 23:31

I\'m developing an iOs 4 application with latest SDK and XCode 4.2.

I\'m using a web service to retrieve some data, and I receive that data. But, when I do this

2条回答
  •  盖世英雄少女心
    2020-12-21 00:11

    I think your problem is the web service that doesn't return valid UTF-8 text. You should check the encoding on the server side.

提交回复
热议问题