fix a Japanese character display issue in the input area

This is a change to fix the issue that Japanese characters are not displayed in the input area.