let testString:String = "成都"
let utf8String = (testString as NSString).UTF8String
屏幕快照 2015-09-16 19.41.02.png
let testString:String = "成都"
let utf8String = (testString as NSString).UTF8String
屏幕快照 2015-09-16 19.41.02.png
本文标题:String转换为UTF-8编码
本文链接:https://www.haomeiwen.com/subject/jzlbcttx.html
网友评论