Revert "utf8_encode test"

This reverts commit fa67d7fbc29787199de3b8b6bfaa4a56c3fae825.