One of These Fonts is Not Like the Other by@RichardJohnn

One of These Fonts is Not Like the Other

Explanation: unicode charset supports extra font families, so we replace normal character '𝓪' (char code 55349) with character 'a' (char code 97).
image
RichardJohnn HackerNoon profile picture

@RichardJohnn
RichardJohnn

VP of Engineering at HackerNoon

twitter social icongithub social icon

This thread with David and myself occurred in HackerNoon's official #techsupport channel. Today I learned:

DavidApr 21, 2022, 2:15 PM

One of these fonts is not like the other - that's a new one (chrome/desktop http://hackernoon.com)

:smiling_face_with_tear: 1
✅ 1
🎈 1
image
richard-kubinaApr 21, 2022, 2:19 PM

there are a bunch of errors in vercel functions over the last couple days, looking into that now

richard-kubinaApr 21, 2022, 2:52 PM

ok that looks to be fixed but I see what you mean.. so that wasn't related

richard-kubinaApr 21, 2022, 2:52 PM

oh!

richard-kubinaApr 21, 2022, 2:52 PM

that's funny

richard-kubinaApr 21, 2022, 2:52 PM

𝐈𝐬 𝐂𝐫𝐲𝐩𝐭𝐨 𝐚 𝐏𝐨𝐧𝐳𝐢 𝐒𝐜𝐡𝐞𝐦𝐞? (https://hackernoon.com/is-crypto-a-ponzi-scheme) is the text, it's special unicode characters that looks like that

richard-kubinaApr 21, 2022, 2:52 PM
image
richard-kubinaApr 21, 2022, 2:53 PM

hm clicking the story refreshes the page

richard-kubinaApr 21, 2022, 2:54 PM

since they are funky characters the slugifier made the slug empty

richard-kubinaApr 21, 2022, 3:23 PM

the missing slug was causing errors that prevented the front page from updating..wonder what a good solution here would be. emojis are still fun to have in titles

richard-kubinaApr 21, 2022, 3:25 PM

https://www.npmjs.com/package/convert-unicode-fonts

richard-kubinaApr 21, 2022, 3:26 PM

but can it go the other way.. looks like

revertTransform

✅ 1
richard-kubinaApr 21, 2022, 3:32 PM

"title":"𝐇𝐄𝐋𝐋𝐎 𝐖𝐎𝐑𝐋𝐃 🅗🅔🅛🅛🅞",

...
gets slug: hello-world-hello"}

that was fun, thank you 🎈

react to story with heart
react to story with light
react to story with boat
react to story with money
L O A D I N G
. . . comments & more!