Solve the problem of garbled code in importing project in eclipse
In the usual process of development, I believe everyone has the experience of importing other people's project learning or secondary development, but the problem of Chinese garbled code after importing the project also perplexes many people. when there is little content in it, it can also be solved by copying and pasting, but when there is a lot of project content, it will be a headache.
Teach you a quick way from time to time
The first imported file becomes garbled because workspace is not encoded correctly. Under linux, the default encoding is UTF-8,windows and GBK.
So how to modify the coding mode of workspace is very simple. It can be set in window----preference---workspace and can be solved by changing the code to utf-8.