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

Exactly. For example the common case of filtering "text to be displayed via the web" is probably best expressed as a (1) a validating conversion to utf8 followed by (2) a regex that translates characters outside the safe range to XML entities.


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

Search: