Remove redundant "utf-8" option from encode and decode calls.