String literal is not properly closed by a double-quote eclipse

中文乱码,

解决方法之一就是更改工程的编码方式。

首先选择工程,右键打开property窗口,resource下的text  file incoding,看看是不是选择的utf-8,如果不是的话更改为utf-8。

posted @ 2017-08-23 17:49  残星  阅读(932)  评论(0编辑  收藏  举报