Home > Programming Communication > Basics > Idea Error:java: string literals not ending 2016
01-25idea Error:java: string literal with no end
Idea Development, always encounter this problem, not the end of the string, compile time will encounter, especially novice, very distressed, do not know how to solve
This problem is the coding problem UTF-8 and GBK confusion, using the following methods:
1. In the settings of idea, find file encodings and change the IDE Encoding to UTF-8
2, replace the idea below the Encodings.xml file, revert to the most recent settings
3, or change the configuration inside the Encodings.xml, GBK and UTF-8 unified a bit
This problem is Encodings.xml file problem, remember to change several times, try it OK
- This article fixed link: http://www.aijava.cn/13559.html
Idea Error:java: string literals that are not ended