Nick Kew wrote:
Last time I looked, incoming charsets were indeed a problem area, but a browser submitting an HTML form would de-facto use the same charset as the form. Not necessarily utf-8.
It's worthwhile to add some logic to 'step out of the way' when the charset is inferred as other-than utf-8.