[英]garbled when copy code from ubuntu to windows
1. I work on ubuntu 12.04 and my friend works on win7.
2. It is java project based on maven.
3. We both use eclipse with UTF-8
I archieve my project to project.zip, and send it with email. 我将项目归档到project.zip,并通过电子邮件发送。
1. `mvn jetty:run` works fun for him.
2. `mvn jetty:run` not works after `mvn clean`.
[error: package com.myproject.xxxx not exist]
So, what cause the problem? 那么,是什么原因引起的呢?
Right click on file in Eclipse, then properties -> resource - change text file encoding
to UTF-8 右键单击Eclipse中的文件,然后单击属性->资源-将
text file encoding
更改为UTF-8
This can also be set as the project or workspace default 也可以将其设置为项目或工作区默认值
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.