Port updateHeader() away from QTextCodec
This only needs the charset name, not the actual codec.
Reduces API exposing QTextCodec a bit, simplifying further porting.
This only needs the charset name, not the actual codec.
Reduces API exposing QTextCodec a bit, simplifying further porting.