When you create a Java project with Eclipse, the. Settings folder is often found under the project directory and contains an org.eclipse.core.resources.prefs file entry.
This entry is the encoding of the configuration item, and if you modify the encoding in Properties->resources, the value in this entry will change accordingly.
For example, the system's default encoding is UTF-8, this file is the content of this:
#Thu Sep 15:05:43 CST 2011
Eclipse.preferences.version=1
Encoding/<project>=utf-8
If you change the system's encoding to GB2312 by the way above, the contents of this file will then become:
#Thu Sep 15:05:43 CST 2011
Eclipse.preferences.version=1
encoding/<project>=gb2312
This file is just. One of the settings, the other should also be similar to the role, like the name setting, is to store some configuration information files.
With these file constraints you can better use the IDE for coding. So, these files are only used to configure the environment.
About the. settings file that was produced when Eclipse created the Java project: