change data encode