Skip to content

Remove QTextCodec usage

Volker Krause requested to merge work/vkrause/qt5compat-port into master

With the locale codec always being UTF-8 with Qt 6 we can not end up with any other codec here, except for ASCII/Latin-1 which don't provide any benefit over UTF-8 in terms of needed size or representable content.

This code has been copied from KMail (now messagelib), the same change has been applied there some time ago already.

Merge request reports