我在哪里可以找到 UTF-8 中所有从右到左的字符?
Where can i find all right-to-left characters in UTF-8?
我知道希伯来语和阿拉伯语字符是从右到左排列的,但我想看到所有字符。
引用 i18nguy:
Languages don't have a direction. Scripts have a writing direction,
and so languages written in a particular script, will be written with
the direction of that script.
以下是一些使用 RTL 的脚本:阿拉伯语、希伯来语、N'ko、叙利亚语、Thaana/Thâna、Tifinar、乌尔都语。
您可以只查找给定脚本的 unicode 范围。例如 Tifinar:U+2D30 – U+2D7F.
不确定你想通过查看所有这些字符来实现什么,但我认为这是真正找到它们的唯一方法。
您可以参考原文页面:
http://www.i18nguy.com/temp/rtl.html
查看 Unicode 数据库中的 bidirectional character type (Unicode character property Bidi_Class). You're looking for characters of type R
(Right-to-Left) or AL
(Right-to-Left Arabic). The file DerivedBidiClass.txt
包含具有这些 类 的所有代码点的列表。
我知道希伯来语和阿拉伯语字符是从右到左排列的,但我想看到所有字符。
引用 i18nguy:
Languages don't have a direction. Scripts have a writing direction, and so languages written in a particular script, will be written with the direction of that script.
以下是一些使用 RTL 的脚本:阿拉伯语、希伯来语、N'ko、叙利亚语、Thaana/Thâna、Tifinar、乌尔都语。
您可以只查找给定脚本的 unicode 范围。例如 Tifinar:U+2D30 – U+2D7F.
不确定你想通过查看所有这些字符来实现什么,但我认为这是真正找到它们的唯一方法。
您可以参考原文页面: http://www.i18nguy.com/temp/rtl.html
查看 Unicode 数据库中的 bidirectional character type (Unicode character property Bidi_Class). You're looking for characters of type R
(Right-to-Left) or AL
(Right-to-Left Arabic). The file DerivedBidiClass.txt
包含具有这些 类 的所有代码点的列表。