Jacob Mulquin

Fancy Text Converter

Pseudoalphabets are cool, converters are also cool

✍️ Jacob Mulquin
📅 16/09/2022

Last night I answered a question on Stack Overflow where a person was wondering how to convert some unicode "fancy text" back into normal characters. I hacked together a quick answer but feel disappointed knowing that the solution is kind of dumb and can be much better.

If you search the Internet for "unicode fancy text converter" or similar, you'll find many websites that will generate fancy text from plain text, but going the other direction is a bit more elusive. I found a really neat website made by the Browserling team, unicode letter normalizer.

Text normalization also a feature that is part of the most excellent CyberChef toolset.

These are both javascript implementations so user interaction is required to make them work, so I thought it would be fun to do a better PHP version.

I'd like to thank the Browserling team because I've unabashadly ripped off their data set for creating my own.

It's an extremely simple script: It splits the characters and then does a simple isset on a $map array.


Converter Link