Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Of course it's possible, the Unicode standard even has a table[0] you can use to build a DFA (Deterministic Finite Automata) to break up a string into grapheme clusters. You can reverse the DFA to match and yield the graphemes backwards as well, which will give you the reversed unicode string.

[0]: http://www.unicode.org/reports/tr29/#Table_Combining_Char_Se...



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

Search: