Workspace, Preferences, Window, Windows
Text file Encoding:
Default: Select this to set the file as the system default encoding format, there will be a hint behind what is.
Other: Select a specific encoding format.
New text file line delimiter:
Default: Select to set the new line break to the system default newline character.
Other: Select a specific line break style.
Line breaks are:
WINDOWS:CRLF 0D0A 1310 \ r \ n (carriage return/line Feed)
Unix/linux:lf 0A \ n
Mac OS:CR 0D \ r
The encoding format setting affects the newly created file and modifies the saved file.
The line break settings affect only the newly created file, and the line break settings before saving the continuation file are saved after the modification.
To modify the encoding format of an existing file:
Select File or folder-Properties-Resource Text file encoding
To modify a line break for an existing file:
Select file or folder, Convert line Delimiter to
Turn!! Eclipse sets and modifies file character encoding format and line break