如何设置big5中文的receedDataEncoding?
我在接收带有 chinese-big5 编码的网页数据时遇到问题, 我尝试获取一些示例代码,但找不到我需要的 big5,如下所示:
if ([encodingName isEqualToString:@"euc-jp"]) {
receivedDataEncoding = NSJapaneseEUCSStringEncoding;
} else {
receivedDataEncoding = NSUTF8StringEncoding};
How to Replace the part of "NS JapaneseEUCSStringEncoding" for big5 chinese编码?
先谢谢你的回答。
I have a trouble in received data with chinese-big5 encoded web-page,
and I tried to get some sample code but can not find I need for big5 like below:
if ([encodingName isEqualToString:@"euc-jp"]) {
receivedDataEncoding = NSJapaneseEUCSStringEncoding;
} else {
receivedDataEncoding = NSUTF8StringEncoding};
How to replace the part of "NSJapaneseEUCSStringEncoding" for big5 chinese encoding?
Thanks for answer first.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 kCFStringEncodingBig5_E 常量,可在
You can use the kCFStringEncodingBig5_E constant which is available in