Changed print to output utf-8 by default.