Fixes #6018: When setting the `encode` option via `yii\widgets\ActiveRecord::errorOptions`, it works the other way around [skip ci]