Default to utf8 in setEncoding
2.3.0