Fixed missing output encoding
Merge pull request #140 from RealRancor/fix_output_encoding

Fixed missing output encoding