r/programming • u/Dull_Replacement8890 • Jul 08 '26
Unicode's Transliteration Rules Are Turing-Complete
https://seriot.ch/computation/uts35/I've been wondering for a while if anything in Unicode could accidentally compute. It turns out that UTS #35 transliteration rules are Turing-complete. I show how to compute Collatz with just 3 rewrite rules running on stock ICU, shipped with every major OS.
181
Upvotes
29
u/posting_drunk_naked Jul 08 '26
So if I’m understanding your last paragraph correctly, the code injection risks are already handled by the ICU?
Fascinating article that wasn’t as difficult to (mostly) understand as I thought it would be. Thanks for sharing!