【问题标题】:get category of a Unicode letter获取 Unicode 字母的类别
【发布时间】:2012-10-08 04:00:37
【问题描述】:

如here所述:

Char.IsLetter() determines whether a Char is a member of any category of Unicode letter.

当Char.IsLetter() 是true 时,是否有可能获得Unicode 字母类别 本身?

【问题讨论】:

    标签: c# unicode char


    【解决方案1】:

    当然 - 我想你想要 CharUnicodeInfo.GetUnicodeCategory(char) 或 Char.GetUnicodeCategory(char)。

    请参阅文档了解差异 - 建议您使用 CharUnicodeInfo,以获取 当前 Unicode 标准中的值。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-01-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-02
      • 1970-01-01
      相关资源
      最近更新 更多