javascript – 如何找到下标字母的unicode?
作者:互联网
我找到了一些字母,但我需要找到其他字母,如“c”,“m”,“p”,这甚至可能吗?
解决方法:
看一下维基百科文章Unicode subscripts and superscripts.看起来这些文章分布在不同的范围内,而且并非所有字符都可用.
Consolidated for cut-and-pasting purposes, the Unicode standard
defines complete sub- and super-scripts for numbers and common
mathematical symbols ( ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁺ ⁻ ⁼ ⁽ ⁾ ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈
₉ ₊ ₋ ₌ ₍ ₎ ), a full superscript Latin lowercase alphabet except q (
ᵃ ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ʰ ⁱ ʲ ᵏ ˡ ᵐ ⁿ ᵒ ᵖ ʳ ˢ ᵗ ᵘ ᵛ ʷ ˣ ʸ ᶻ ), a limited
uppercase Latin alphabet ( ᴬ ᴮ ᴰ ᴱ ᴳ ᴴ ᴵ ᴶ ᴷ ᴸ ᴹ ᴺ ᴼ ᴾ ᴿ ᵀ ᵁ ⱽ ᵂ ), a
few subscripted lowercase letters ( ₐ ₑ ₕ ᵢ ⱼ ₖ ₗ ₘ ₙ ₒ ₚ ᵣ ₛ ₜ ᵤ ᵥ ₓ
), and some Greek letters ( ᵅ ᵝ ᵞ ᵟ ᵋ ᶿ ᶥ ᶲ ᵠ ᵡ ᵦ ᵧ ᵨ ᵩ ᵪ ). Note that
since these glyphs come from different ranges, they may not be of the
same size and position, depending on the typeface.
标签:subscript,javascript,unicode,three-js 来源: https://codeday.me/bug/20190918/1811698.html