Revert "add encoding"

This reverts commit 6ea7e89706eb1709a380b3ee938b393ad0a16df9.
add encoding