Added output encoding to utf8.