When writing code in notepad that contains Chinese characters, a compilation error occurs: encoding unmappable characters of GBK. (Recommended learning: notepad )
Click [Settings] - [Preferences] [New] in the menu bar to encode from UTF Change -8 to ANSI, then save as overwriting the original java file, and recompile to solve this problem.
The above is the detailed content of An unmappable string encoding gbk appears in notepad++. For more information, please follow other related articles on the PHP Chinese website!