Port Gettext import away from QTextCodec
Support for arbitrary codecs in QTextStream is gone, so we need to handle the non-UTF case manually here now unfortunately.
Support for arbitrary codecs in QTextStream is gone, so we need to handle the non-UTF case manually here now unfortunately.