I run NB6.7 beta in japanese locale.
If I run NB with japanese pseudo locale files, label, tooltips contain both
multibyte prefixes, suffixes and are correctly dispalyed.
In editor, there are only squares instead of mbytes. See in attachment.
It is not possible to input multi bytes there.
If I copy these squares and put them to any text file, suddenly I can
see correct Mbytes.
Product Version: NetBeans IDE 6.7 Beta (Build 200904192254)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System:Linux version 2.6.24-22-generic running on i386 UTF-8; ja_JP (nb)
Similar behaviour is happening with chinese locale too
On opensolaris with the same configuration NB works fine.
Created attachment 80619 [details]
Can you please try setting bigger font in editor? maybe there are missing fonts for specific locale and font-size
Could you please run the IDE with -J-Dorg.netbeans.api.queries.level=0 and -J-Dnetbeans.debug.editor.document=true
switches, do the same test and attach the IDE's log file. What is the source encoding in the project where the file
belongs? Also could you simply load the file in gedit and java notepad (ie. run java -jar
I ran NB with those switches, please find result in attached log file. The result is still the same. Squares instead of
Project encoding is UTF-8. I also tried windows EUC-JP with the same result. Masaki Katai advised me this workaround -
http://wiki.netbeans.org/FaqI18nLinuxAsianFonts, I will inform you about the result.
If I view java file by gedit, all mbytes are displayed correctly. If I try this by java Notepad, there are squares.
This happens with this java version "1.6.0_13".
If I run Notepad with this java, java version "1.6.0_0", mbytes are visible, but appears an incorrect displaying of labels.
Created attachment 80673 [details]
Netbeans by default uses Monospace font type. I did this workaround(http://wiki.netbeans.org/FaqI18nLinuxAsianFonts)
with manually installing other Japanese ttf. Now it is possible to see mbytes in editor. If I do
system.out.println("some mbytes") in output console there are squares again. see attached image.
Created attachment 80694 [details]
squares in output console
Is it the same if you switch to different font via OW context menu?
What is OW context menu? thanks
Output Window context menu (right click on content of Output Window, select Choose Font)
After switching font in context window it is working correctly.
What is the status of this issue? Can we close it? Anything we can do on NB side?
I sent additional instruction to Michal. Probably my first instruction
was not correct, we need to prepare monospace Japanese fonts too.
Michal, could you check?
On my Japanese Ubuntu environment, I'm seeing these characters properly.
Masaki, I can confirm it works after font change.
We can close this bug.
closing as works for me. thanks guys