【问题标题】:How to remove unicode in Objective-C [duplicate]如何在Objective-C中删除unicode [重复]
【发布时间】:2012-11-03 03:16:17
【问题描述】:

可能重复:
Replace letters in a string

我有一些文字“anh yêu em”

我想转换成这个文本“anh yeu em”。

有谁知道在 Objective-C 中将此文本“anh yêu em”转换为“anh yeu em”?

非常感谢,

【问题讨论】:

    标签: converter


    【解决方案1】:

    您可以使用 NSString dataUsingEncoding 将越南语 unicode 字符转换为等效的 ascii 字符。

    详情请关注此网址nsstring-unicode-to-ascii-equivalent

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-08-03
      • 1970-01-01
      • 2016-08-30
      • 2015-10-08
      • 1970-01-01
      • 2010-11-04
      • 1970-01-01
      相关资源
      最近更新 更多