use correct encoding in the `decodeKludges` method