Added output conversion to UTF-8