Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on String length functions for single emoji characters evaluate to greater than 1. Parent comment
Nobody ever cares about unicode codepoints. You either want the number of bytes or the width of the string on screen.
UTF-32 codepoints waste space and give you neither.
Nobody ever cares about unicode codepoints. You either want the number of bytes or the width of the string on screen.
UTF-32 codepoints waste space and give you neither.