If it is Maven project. Add following into the POM file.
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Or right click project, select "Properties \ Sources \ Encoding"
and change to UTF-8
For Netbeans supports UTF-8 in default.
You have add following
a
Reference:
http://stackoverflow.com/questions/5034891/how-do-you-set-the-encoding-to-utf-8-in-netbeans-6-9
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Or right click project, select "Properties \ Sources \ Encoding"
and change to UTF-8
For Netbeans supports UTF-8 in default.
You have add following
netbeans_default_options="-J-Dfile.encoding=UTF-8"
ata
netbeans.conf
file in you netbeans installation\etc\
Reference:
http://stackoverflow.com/questions/5034891/how-do-you-set-the-encoding-to-utf-8-in-netbeans-6-9
Comments
Post a Comment