Added UTF8 encode/decode.