Comment

Comment by thyselius

Wonderful to learn more about Unicode.

Does anyone know how to write a function (preferably in swift) to remove emoji? This is surprisingly hard (if the string can be any language, like English or Chinese).

There’s been multiple attempts on Stackoverflow but they’re all missing some of them, as Unicode is so complex.

parent thyselius 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton