Home > Article > Development Tools > Unmappable characters in encoding gbk appear in Notepad++
notepad When writing code that contains Chinese characters, a compilation error occurs: encoding unmappable characters of GBK.
The following will introduce the solution to you.
Recommended tutorial: notepad graphic tutorial
##Method 1
Settings-Preferences Change UTF-8 to ANSI Then save as to overwrite the original java file and recompile.Method 2
You can also use Notepad to open the source file and save it as ASNI encoding. Method As follows: When writing in Notepad, save directly as ANSI encoding format, overwrite the source file, and then compile without errorThe above is the detailed content of Unmappable characters in encoding gbk appear in Notepad++. For more information, please follow other related articles on the PHP Chinese website!