Incorrect NSStringEncoding value 0x0000 detected. Assuming NSASCIIStringEncoding. Will stop this compatiblity mapping behavior in the near future.

ASIHTTP解析GBK的编码有误,在某些设备会出现此类错误,直接返回不了数据:,在输出控制本里返回如下

Incorrect NSStringEncoding value 0x0000 detected.

Assuming NSASCIIStringEncoding. Will stop this compatiblity mapping behavior in the near future.

Incorrect NSStringEncoding value 0x0000 detected. Assuming 
NSASCIIStringEncoding. Will stop this compatiblity mapping behavior in the near 
future.

 

之前我做的时候编码用的是NSUTF8SringEncoding,改为CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingGB_18030_2000)编码即可。

Incorrect NSStringEncoding value 0x0000 detected. Assuming NSASCIIStringEncoding. Will stop this compatiblity mapping behavior in the near future.

上一篇:VR全景加盟、720全景、VR全景技术平台-全国招商模式疯狂开始


下一篇:Android 获取唯一机器码的代码