Unicode Text Transformer
January 31, 2020 6:59 AM   Subscribe

Unicode Text Transformer
This little web toy converts latin text into unicode variants. It translates spaces and some punctuation into full-width variants when the glyphs in the variant are generally square-ish, otherwise it leaves them alone. π”œπ”¬π”² π” π”žπ”« 𝔲𝔰𝔒 𝔦𝔱 𝔱𝔬 π”ͺπ”žπ”¨π”’ 𝔱𝔒𝔡𝔱 𝔩𝔦𝔨𝔒 𝔱π”₯𝔦𝔰. 𝓐𝓷𝓭 𝓽𝓱𝓲𝓼.
Role: programmer
posted by Sokka shot first (10 comments total)
This post was deleted for the following reason: Poster's Request -- Brandon Blatcher

The "script" variant seems to have problems if the first letter is a lower case g. It's fine if g appears elsewhere, and no other initial letters seem to give it trouble.
posted by jedicus at 8:52 AM on January 31, 2020

The input "george" uses the weird g twice, but "king george" looks fine. Very strange!

Anyway, a neat toy!
posted by jedicus at 10:01 AM on January 31, 2020

Chrome on Mac OS 10.13. Screenshot of "king george" displaying properly.

None of the g's display properly on Safari. On Firefox, curiously, it's king george. In conclusion, Unicode is a land of contrast.
posted by jedicus at 7:23 PM on January 31, 2020


I didn't realize that Unicode had bold and italic glyphs. I thought this might be a sneaky way to add formatting to Facebook posts – but, unfortunately, it seems that Facebook is clever enough to convert these glyphs to the normal equivalents when I paste them in.

(Most of the other glyphs I tried can be pasted into Facebook. It even works with Zalgo text, surprisingly.)
posted by escape from the potato planet at 10:06 AM on February 2, 2020

I take it back – pasting bold and italics into Facebook does work. I'm not sure why I thought it wasn't working before. (I'm seeing them in a serif font on my machine, though, which doesn't really work with Facebook's default font.)
posted by escape from the potato planet at 10:08 AM on February 2, 2020

This is nice, I made a similar tool years ago for π”Ÿπ”©π”žπ” π”¨π”©π”’π”±π”±π”’π”―. For a long time a lot of sites either filtered or mangled unicode codepoints but the rise of smilies has forced sites to accept them. β˜ƒ
posted by AndrewStephens at 10:19 AM on February 3, 2020

Completely mangles screen reader and other accessibility tools, though. Thanks for the warning header, but best not to encourage this sort of thing at all.
posted by scruss at 2:16 PM on February 4, 2020

posted by metasunday at 7:59 AM on February 6, 2020

Well, despite the fact that you don't want to use this for any public-facing stuff for accessibility reasons, I'm still finding this tool incredibly useful and have it bookmarked in my browser toolbar. I use it for adding comments to code that stand out, in cases where I'm only going to be editing the code myself.
posted by XMLicious at 11:54 AM on December 16, 2020

« Older Generative Texts...   |   Life Modeling Facebook Group... Newer »

You are not currently logged in. Log in or create a new account to post comments.