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

also, the redundancy means that you get a pretty good heuristic for "is this utf-8". Random data or other encodings are pretty unlikely to also be valid utf-8, at least for non-tiny strings


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

Search: