NetBeans uses UTF-8 encoding

Source: Internet
Author: User
Tags netbeans

If you want NetBeans to decode the file with UTF-8, you need to modify the configuration file as follows:

1. Locate the ETC folder in your NetBeans installation directory, such as C:\Program Files\netbeans 6.9.1\etc\netbeans.conf

2. Open netbeans.conf with Notepad

3. Find Netbeans_default_options This sentence, preceded by no sign #, in the sixth line of the file

4. Add a space at the back and add -j-dfile.encoding=utf-8

Modified Sixth Act: netbeans_default_options= "-j-client-j-xss2m-j-xms32m-j-xx:permsize=32m-j-xx:maxpermsize=200m- J-dapple.laf.usescreenmenubar=true-j-dapple.awt.graphics.usequartz=true-j-dsun.java2d.noddraw=true - J-dfile.encoding=utf-8"So netbeans default encoding becomes UTF-8

Originally from: http://blog.sina.com.cn/s/blog_664c9f650101e4ph.html

NetBeans uses UTF-8 encoding

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.