如何在Netbeans 7,8中显示UTF8? [英] How To Display UTF8 In Netbeans 7,8?
本文介绍了如何在Netbeans 7,8中显示UTF8?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的java项目中,我需要使用阿拉伯文本和字符串,但是文本变为类似"???????"
的字样,那又有什么错呢?以及如何解决这个问题?
In my java project, I need to use Arabic text and strings, but the text becomes like "???????"
, so what wrong ? and how to resolve this problem?
谢谢
推荐答案
您可以使用启动选项设置Netbeans
将其放入netbeans.conf
放入netbeans_default_options
You can setup your Netbeans with startup option
place it inside netbeans.conf
into netbeans_default_options
-J-Dfile.encoding=UTF-8
最后应该看起来像
netbeans_default_options="..... -J-Dfile.encoding=UTF-8"
希望它会为您提供帮助
这篇关于如何在Netbeans 7,8中显示UTF8?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文