技术文章分类(180)

技术随笔(11)

swift String to UTF8编码

 

var testString:String = "wo shi string"

var utf8String = (testString as NSString).UTF8String

 

posted @ 2014-07-05 11:37  坤哥MartinLi  阅读(1697)  评论(0编辑  收藏  举报