Fixed bug when submitted program outputs non utf-8 characters