Hacker News new | past | comments | ask | show | jobs | submit login

Lua 5.3 can iterate over a UTF-8 string. You can even index character positions (not byte positions) in a UTF-8 string. Some more information here: https://www.lua.org/manual/5.3/manual.html#6.5

Edit: fixed link




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: