chagne encoding type