下标字母的 UTF8 符号
我一直在网上寻找UTF8字符表。我能找到的下标只有数字 1 到 9 和一些拉丁字母。
我需要找到 S 和 B 作为 UTF8 的下标
感谢您的帮助。
以下是 UTF8 字符表的链接:http://tlt.its.psu.edu/建议/international/bylanguage/mathchart.html
I have been looking online for the UTF8 character table. And all I could find for subscripts were numbers 1 to 9 and some of latin letters.
I need to find S and B as subscripts for UTF8
Thanks for the help.
here is the link for a UTF8 character table: http://tlt.its.psu.edu/suggestions/international/bylanguage/mathchart.html
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您可以在 http://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts
You can find what you are looking for at http://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts
UNICODE 并不能表示所有下标和上标中的拉丁字母:只有其中的一小部分。您必须使用标记来做到这一点。
例如,如果您使用的是 HTML,则可以使用以下标记:
它将转换为 exampleS。
许多其他文本渲染引擎也提供相同的功能:TeX 等。如果您在 WinForms 或类似的东西中显示它,不幸的是,您必须自己完成。
另外,关于“UTF8”。它只是 UNICODE 表的编码。 UTF8 可以对任何 UNICODE 字符进行编码,UTF16、UTF32 等也是如此。因此,您的问题实际上是关于 UNICODE 中是否存在拉丁下标字符。
UNICODE doesn't have representation of all latin letters in subscripts and superscripts: just a few of those. You'll have to use markup to do that.
For example, if you're using HTML, you can use the following markup:
which gets converted into exampleS.
Same functionality is available in many other text rendering engines: TeX, etc. If you're displaying it in WinForms or something similar, unfortunately, you'll have to do it yourself.
Also, regarding the "UTF8". It's just an encoding of the UNICODE table. UTF8 can encode any UNICODE character, as does UTF16, UTF32 and others. Therefore, your question is really about existence of latin subscript characters in UNICODE.
我知道这是一篇旧文章,以下是具有 unicode 等效字符的列表。对于我们没有的其他字母表。希望它有帮助
http://www.unicode.org/charts/PDF/U2070.pdf< /a>
我创建了一个小库来将子/超级脚本转换为其等效的 UTF 字符。
https://github.com/DilipRajkumar/Select-With-Sub -Super-tags/tree/master
希望有帮助。
I know its a old post, following is the list of characters having unicode equivalent. For other alphabets we dont have. hope it helps
http://www.unicode.org/charts/PDF/U2070.pdf
I created a small library to convert sub/super script to its equivalent UTF character.
https://github.com/DilipRajkumar/Select-With-Sub-Super-tags/tree/master
hope it helps.
关于 Unicode 中的字符的权威参考是 Unicode 标准。您可以在 PDF 代码图表中找到相关信息。最常用的下标字符位于“上标和下标”块中。要获取完整列表,请检查 Unicodedata.txt 文件并使用以下命令搜索字符
在他们的描述中。请注意,它们中的许多都是专门用于特殊用途的,例如在语音符号中,如果字形是为特殊用途而设计的,那么在这种用途之外可能工作效果很差。
The authoritative reference on what characters there are in Unicode is the Unicode Standard. You can find the relevant information in the PDF code charts. The most commonly needed subscript characters are in the “Superscripts and subscripts” block. To get a full list, check the Unicodedata.txt file and search for characters with
<sub>
in their description. Beware that many of them are for specialized used, e.g. in phonetic notations, and may work poorly outside such usage, if the glyphs have been designed for the special use.