Thank you. At least QStrings are shown correctly at the moment (Qt 5.15.2/Xcode 12.5).
Don't forget to import the codecs together with the usual imports.

import codecs

Could not see any differences with the HandleCommand fixes.