NetBeans:UTF-8 Character Set
Web Devolop 7月 23rd, 2009Here are instructions for setting the default character set in Netbeans to UTF-8 (in Windows):
- Go to C:\Program Files\netbeans-x.x\etc
- Open netbeans.conf in Notepad.
- On the netbeans_default_options add: -J-Dfile.encoding=UTF-8. (make sure to put it within the quotation marks)
- Project properties -> Build -> Compiling ->
- Additional compiler options) text box.- add: -encoding UTF-8
- You can also check to make sure that you have increased the memory allocation for Netbeans by looking at the netbeans_default_options line. The default max is 128MB. We have increased this to 256MB.
References:
Leave a Reply
You must be logged in to post a comment.
Recent Comments