Revert "Set encoding."

This reverts commit e82fcb85f56f3414a9f9caac98e1ea9d19870371.