84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:@"zh_CN"]; NSString *strSymbol = [locale objectForKey:NSLocaleCurrencySymbol]; NSLog(@"%@",strSymbol);
在测试Demo中可以正常显示人民币符号. 在项目中用NSLog输出也可以正常显示,但是在手机中测试只显示一横 (人命币符号是两横),帮我推测一下大概是什么原因
认证高级PHP讲师
The one-horizontal and double-horizontal RMB symbols are 同一个字符, which only correspond to 同一个编码 in the coding table, but different fonts have different display effects
同一个字符
同一个编码
The horizontal line is also the RMB symbol, but the fonts are different
The one-horizontal and double-horizontal RMB symbols are
同一个字符
, which only correspond to同一个编码
in the coding table, but different fonts have different display effectsThe horizontal line is also the RMB symbol, but the fonts are different