[Fix] - Correct the encoding of output