Use UTF-8 if current charset is US-ASCII.

It's a superset, but contrary to US-ASCII supported by html_entity_decode()
further down.
"Improve" hack. Might fix bug #12039.