Eclipse modify character set
By default, the Eclipse character set is GBK, but many projects now use UTF-8, so we need to set our Eclipse development environment character set to UTF-8. The setting steps are as follows:
Select Window -> Preferences -> General -> Workspace -> Text file encoding in the menu bar, click Other in Text file encoding, and select UTF -8, as shown in the picture: