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

Assuming that data is valid UTF-8 can result in you passing this data to other systems that make the same assumption. If nobody validates the data, it can cause unintended behavior or crashes. If someone downstream validates the data and returns you an error, it may be an error you didn't expect, and you may not handle it properly.


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

Search: