change encoding lib