开发者

NSString encoding conversion

开发者 https://www.devze.com 2023-02-11 00:22 出处:网络
i have a problem with this particular NSString B and B . As you can see the encoding is different. So I am wondering if there is any 开发者_高级运维way to convert B to B so that the computer can sta

i have a problem with this particular NSString B and B . As you can see the encoding is different. So I am wondering if there is any 开发者_高级运维way to convert B to B so that the computer can standardize the character.


Does this work?

NSString *newString = [oldString stringByReplacingOccurrencesOfString:@"B" withString: @"B"];
0

精彩评论

暂无评论...
验证码 换一张
取 消