How To Display UTF8 In Netbeans 7,8?

后端 未结 4 639

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?

tha

4条回答
  •  囚心锁ツ
    2020-12-14 09:26

    You can setup your Netbeans with startup option
    place it inside netbeans.conf into netbeans_default_options

    -J-Dfile.encoding=UTF-8

    In the end it should look like

    netbeans_default_options="..... -J-Dfile.encoding=UTF-8"

    Hope it'll help you

提交回复
热议问题