Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Eclipse Changing the Character Set

Eclipse Changing the 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 steps are as follows:

In the menu bar, select ** Window -> Preferences -> General -> Workspace -> Text file encoding**, click Other in Text file encoding, select UTF-8, as shown in the figure: