
Fancy Unicode Text: How Special Characters Work Across Platforms
You have seen those social media posts with text in bold, italic, script, or double-struck fonts -- in places where formatting is not supported. Instagram bios, Twitter posts, Discord messages. These are not formatted text. They are different Unicode characters that happen to look like styled versions of regular letters. Understanding how this works reveals something interesting about Unicode's design. How it actually works Unicode includes multiple complete alphabets in different mathematical styles. These exist because mathematicians need to distinguish between different types of variables. Bold lowercase a, italic lowercase a, script lowercase a, and double-struck lowercase a are all semantically distinct in mathematical notation. The character "a" is U+0061. But there are also: Bold a: U+1D41A (in Mathematical Bold Small block) Italic a: U+1D44E Script a: U+1D4B6 Double-struck a: U+1D552 Fraktur a: U+1D51E Monospace a: U+1D68A Sans-serif a: U+1D5BA Sans-serif bold a: U+1D5EE Each o
Continue reading on Dev.to
Opens in a new tab



