using utf8 as output codec