Add utf8 encoding support.