Fix unicode issue with text output