changed encoding type