unicode-scripts:Unicode 脚本 Ruby 字符串的脚本扩展

时间:2021-05-31 12:42:04
【文件属性】:
文件名称:unicode-scripts:Unicode 脚本 Ruby 字符串的脚本扩展
文件大小:18KB
文件格式:ZIP
更新时间:2021-05-31 12:42:04
ruby unicode script unicode-data Ruby Unicode::脚本 检索字符串所属的。 还可以返回Script_Extension属性,该属性定义为“通常与多个脚本一起使用,但脚本数量有限”的字符。 Unicode 版本: 13.0.0 (2020 年 3 月) 支持的Ruby:3.0,2.7,2.6,2.5 可能仍然有效的旧Ruby: 2.4 、 2.3 、 2.2 、 2.1 、 2.0 文件 gem "unicode-scripts" 用法 require "unicode/scripts" Unicode :: Scripts . scripts ( "СC" ) # => ["Cyrillic", "Latin"] # 4 letter script aliases Unicode :: Scripts . scripts ( "СC" , format : :short ) # => ["Cyrl", "La

网友评论