error: unmappable character for encoding UTF-8 Because of copyright character, I am getting this error. I am using netebans 7.2.
/**
* � 2006
*
* This
It sounds like you have two options:
Personally I'd favour the first option if possible - UTF-8 is a nice "everything supports it" encoding
Right-click the project node in the Projects window and choose Properties. In the left column under Categories, select Sources. And set it to ISO-8859-1
You have to set the project's encoding correctly.
Right click on your project -> Properties -> Sources -> Encoding
Windows 1252 is a good option to try. It worked for me.
I used all of the solutions here, but the problem persisted. Finally,
I have resolved this problem: