Eclipse modify character set

By default, the Eclipse character set is GBK, but now many projects 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 figure:

 Eclipse installation (Neon version)

Eclipse window description

1 note write note

  1.    The other side of the soul

      191***[email protected]

    36

    If you use JSP, you can also modify the JSP character encoding, the left window

    Window -> Preferences -> Web -> JSP Files

    Right window:

    Encoding:ISO-10646/Unicode(UTF-8)

    Apply-Apply and Close

Guess you like

Origin blog.csdn.net/qq_21743659/article/details/132294590