?
Solved

Setting up UTF-8 encoding in output window of netbean6.5

Posted on 2010-11-25
6
Medium Priority
?
1,654 Views
Last Modified: 2013-12-14
Hi,

My application is reading excel file with chinese charatecters.

When I debug my code then all chinese character in output window is displayed as ????

How do we set encoding for output window and what encoding is perferable to display output in chinese as well with english

Please suggest

Many Thanks
0
Comment
Question by:tia_kamakshi
  • 3
  • 3
6 Comments
 
LVL 11

Expert Comment

by:Bruce Smith
ID: 34215583
I looked and looked and couldn't find a way to do this. The only solution to show Chinese characters in the output window is to change the font to a pre-installed Chinese font on your system by right-clicking inside the output window. But this of course isn't a solution to 'English and Chinese'.

Cheers
0
 

Author Comment

by:tia_kamakshi
ID: 34217479
Thanks patsmitty for your response.

I have right click on my output window but I cannot see any option to set 'English and Chinese'.

Can you please help what steps I need to follow to achieve this task

Thanks again

0
 
LVL 11

Expert Comment

by:Bruce Smith
ID: 34245870

1. Right-click inside of the Output window


2. Select 'Choose Font...'


1. Find and select the 'Monospaced' font.


This worked for me!

 Chinese and English!
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 

Author Comment

by:tia_kamakshi
ID: 34248785
Hi,

Thanks for your reply.

When there is no output before executing the project. The output window is greyed out and we cannot do right click on it.

When we debug the project and stop in between then we can right click inside the output window, but still I cannot see any choose Font option

Can you please guide me how you have done?

Many Thanks
printscreen.bmp
0
 
LVL 11

Accepted Solution

by:
Bruce Smith earned 2000 total points
ID: 34249516
The reason you are not getting the "Choose Font" option is because you have an older version of NetBeans. I have NetBeans 6.9.1 but you are running NetBeans 6.5. Here is what my output context menu looks like in 6.9.1:

NetBeans 6.9.1
I would advise that you update your NetBeans IDE to the new version and try my solution above as you could see it prints out both the Chinese characters and English characters.

PS. You said: "When there is no output before executing the project. The output window is greyed out and we cannot do right click on it." This is correct, you have to run or debug a project or script before you will be able to choose the font. The font will change immediately when you select it, not at the next run.
0
 

Author Closing Comment

by:tia_kamakshi
ID: 34290288
Many Thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question