Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
423 views
in Technique[技术] by (71.8m points)

java - Change console input encoding in NetBeans 8.0

I don't find the option in NetBeans 8.0 to change the console input encoding.

In Windows the console input encoding is Windows 1252 by default, but I want to change it to UTF-8.

Where is the option?

Thanks.

Edit:

I have found how to do it. Editing the file "netbeans.conf" from the "etc" directory located at the installation directory of NetBeans: in the "netbeans_default_options" option, add "-J-Dfile.encoding=UTF-8".

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...