下标字母的UTF8符号 [英] UTF8 symbols for subscript letters

查看:291
本文介绍了下标字母的UTF8符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在网上寻找UTF8字符表.对于下标,我只能找到数字1到9和一些拉丁字母.

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.

我需要找到S和B作为UTF8的下标

I need to find S and B as subscripts for UTF8

感谢您的帮助.

这是UTF8字符表的链接: http://tlt.its.psu .edu/suggestions/international/bylanguage/mathchart.html

here is the link for a UTF8 character table: http://tlt.its.psu.edu/suggestions/international/bylanguage/mathchart.html

推荐答案

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.

例如,如果您使用的是HTML,则可以使用以下标记:

For example, if you're using HTML, you can use the following markup:

example<sub>S</sub>

将其转换为示例 S .

许多其他文本呈现引擎中也提供了相同的功能:TeX等.不幸的是,如果要在WinForms或类似格式中显示它,则必须自己完成.

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.

此外,关于"UTF8".它只是UNICODE表的编码. UTF8可以编码任何UNICODE字符,UTF16,UTF32和其他字符也可以.因此,您的问题实际上是关于UNICODE中是否存在拉丁下标字符.

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.

这篇关于下标字母的UTF8符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆