NSString *text= @”你好”;
NSString *string= [text stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NSString转UTF-8编码
最新推荐文章于 2024-11-04 13:30:00 发布
NSString *text= @”你好”;
NSString *string= [text stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];