Solved

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

Posted on 2010-11-25
6
1,536 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Tomcat6 in eclipse 2 43
System.out.println to console instead to Jboss log file 12 805
maven plugin not showing after installation 3 82
Doxygen plugin for Android Studio 1 650
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.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

735 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