>>19
True. Use the one-regexp version. And there is no way to know if the user typed in an entity by hand or if the browser auto-converted it. This is a shortcoming of HTTP, and there is no solution.