Share file to Transcode plugin (eclipse)

Source: Internet
Author: User

Recently encountered a coding problem, there is a project is encoded with GBK, because to the project to the Linux, considering the universality, want to convert the project into UTF-8 encoding format, just start with UE, EditPlus turn, found the file content or can not be transferred, all is garbled, Later on the internet to find a very useful plug-in (Com.lifesting.tool.encoding_1.0.0.jar), using the following methods:

The first step is to copy the plugin Com.lifesting.tool.encoding_1.0.0.jar to the Eclipse/plugins directory, and if it is above eclipse3.5, place it in the Dropins directory and restart Eclipse.
The second step is to select an item, right-select Properties, then click Convert Setting to set the transcoding rules, as shown in this table has four columns, the file suffix, the file is currently encoded, the converted encoding, whether to convert the contents of the file.

The first three are good to understand, the last one depends on what the real code of your file is, and then decide whether or not to do the encoding conversion of the file content.

Third Step transcoding
On the project that has the transcoding rules set, right-select the project, a few folders or a few files (of course one), and then click Lifesting tools->set Encoding. The plugin will complete the transcoding work. If we select a project, the entire project will be converted, if the folder is selected, all files that satisfy the rule are converted under the folder, and if the file is selected, only the file is converted.

Share file to Transcode plugin (eclipse)

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.