Retweeted

An extremely underestimated problem in computer science: character counters.
You’d think it’s super straight forward — but it’s actually pretty involved, has a ton of outliers, changes between types of scripts and languages, and is thrown off by emoji.
Some examples🧵1/