Is there a Unicode character for a superscript?

When translating to a YouTube video (translations can only be in Unicode, no other markup is possible, as far as I know), I came across a concentration of H + in orange juice.It is assumed that it should be once ten times to a negative 3.5 moles.

I would like to write it as "1 ยท 10 -3.5 M" (mind comma, it is translated into Dutch). The problem is that I cannot find a superscript comma, or even a superscript, between all 120,520 graphic Unicode characters.

Does anyone have an idea on how to solve this?

+5
source share
2 answers

Unicode superscript (and index) code points are designed for backward compatibility with older character sets and are essentially not recommended. They are not intended to be filled in or may be used to format text. If you need to use top-level characters, the recommended (and most comprehensive / compatible) approach is to use a markup language.

If the markup language is not available, you're just out of luck. Hacking another character that looks similar may be a useful workaround, but it hurts any semantic meaning for the text - for example, U+22C5 can be mechanically analyzed as a multiplication of neighboring numbers.

+3
source

As far as I know, there is a unicode no for a superscript, however you can use (U + 22C5) as a dot separator.

+2
source

Source: https://habr.com/ru/post/1238604/


All Articles