Fix disabling encodings