outputfile encode changed to utf-8