Quantcast
Channel: Active questions tagged utf-8 - Stack Overflow
Viewing all articles
Browse latest Browse all 1214

How to use UTF-8 character in Netbeans

$
0
0

I am using Netbeans6.9.1 IDE and wants to show the Chinese characters in the output console using java.I copied the Chinese charater from a web page and copied between the "". but its not supported.

         String char1="世界你好";         System.out.println(char1);

Do I need to do some setting in IDE or use some settings in my Java code?


Viewing all articles
Browse latest Browse all 1214

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>