【发布时间】:2012-12-03 14:42:13
【问题描述】:
char symbol[] = {0xa1,0xe3}; //temperatue symbol code
NSString *degree = [NSString stringWithCString:symbol encoding:NSASCIIStringEncoding];
//when "degree" displayed on screen,messy code.
我应该使用什么样的编码? NSASCIIStringEncoding 好像不行。
或者有其他方法可以帮助解决吗?
【问题讨论】:
标签: ios encode temperature