Forgot to actually wire up the handling of the RequireValidEncoding LangOption
to the propagation of decoding errors; without this, all illegal encodings
would be rejected.