Address: http://blog.sina.com.cn/s/blog_5f54f0be0101hb3r.html
SSH project. Use internationalization files, Message.properties, but the text inside is in unicode format, which is not used by anyone. And I don't want to use it by transcoding with other tools.
It can be edited by installing the propedit plugin for eclipse. In this way, the plugin will automatically convert Chinese to unicode.
After installation, you can use PropertiesEditor to edit the corresponding files, and Chinese will be displayed directly. Edits are automatically converted after saving. If you open it with other editors, it will display unicode directly. The
installation method of the plug-in is as follows:
the input contents are:
proedit
http://propedit.sourceforge.jp/eclipse/updates/
After installation, you will be prompted to restart eclipse. After restarting, There will be a green P in front of the properties file:
right-click on the file, and you will see a PropertiesEditor in the Open With sub-menu. After selecting it, you will see that Chinese is displayed normally. Editing etc is normal. Similarly, if the file is opened with other editors, it will be found to be unicode encoded.
Solve the Chinese automatic transcoding of properties file
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326935525&siteId=291194637
Recommended
Ranking