UTF8 symbols for subscript letters

后端 未结 4 1379
遥遥无期
遥遥无期 2021-01-18 02:02

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 a

4条回答
  •  难免孤独
    2021-01-18 02:13

    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:

    exampleS
    

    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.

提交回复
热议问题