Setting method: First open the eclipse software; then click the "Window"-"Preferences"-"General"-"Workspace" option; finally, in the opened interface, find the "Text file encoding" item and select "UTF-8" format is sufficient.
The operating environment of this tutorial: windows7 system, Eclipse2018 version, Dell G3 computer.
Open the eclipse software, under Window--"Preferences--"General--"Workspace, select UTF-8 format in the Text file encoding panel, as shown below:
For more programming-related knowledge, please visit: Programming Video! !
The above is the detailed content of How to set utf8 encoding in eclipse. For more information, please follow other related articles on the PHP Chinese website!