Turn!! Eclipse sets and modifies file character encoding format and line break

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.