Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error: unmappable character for encoding UTF-8

Tags:

encoding

utf-8

error: unmappable character for encoding UTF-8. Because of copyright character, I am getting this error. I am using Netbeans 7.2.

/**
 *  � 2006
 * 
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.2.6-2b01 
 * Generated source version: 2.1
 * 
like image 892
dijkstra Avatar asked Sep 03 '12 15:09

dijkstra


1 Answers

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.

like image 196
thanos.a Avatar answered Oct 04 '22 18:10

thanos.a