paint-brush
One of These Fonts is Not Like the Otherโ€‚by@richardjohnn
293 reads

One of These Fonts is Not Like the Other

by RichardJohnnApril 21st, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Explanation: unicode charset supports extra font families, so we replace normal character '๐“ช' (char code 55349) with character 'a' (char code 97).
featured image - One of These Fonts is Not Like the Other
RichardJohnn HackerNoon profile picture

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
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
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 ๐ŸŽˆ