fix the UnicodeEncodeError, but the GUI is not able to display chinese character well still