How Do I Solve the Problem that Chinese Characters Are Displayed as Garbled Characters and the GUI Is Incompletely Displayed or Is Not Well-Organized?

Symptom

  • When an app project is created, Chinese characters are displayed as garbled characters in, for example, the README_CN.md file. See Figure 1.
    Figure 1 Garbled Chinese characters
  • The GUI is incompletely displayed or is not well-organized. For example, the title cannot be completely displayed, as shown in Figure 2.
    Figure 2 Incompletely displayed title

Solution

Install the Microsoft YaHei font (msyh.ttc).