This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | i18n - cannot input mbytes to editor | ||
---|---|---|---|
Product: | editor | Reporter: | mvanek <mvanek> |
Component: | -- Other -- | Assignee: | issues@editor <issues> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | CC: | jf4jbug, mmirilovic, t_h |
Priority: | P2 | Keywords: | I18N |
Version: | 6.x | ||
Hardware: | All | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
ubuntu mbytes
messages log squares in output console |
Description
mvanek
2009-04-21 17:58:17 UTC
Created attachment 80619 [details]
ubuntu mbytes
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 $JAVA_HOME/demo/jfc/Notepad/Notepad.jar)? Thanks to Vstejskal: I ran NB with those switches, please find result in attached log file. The result is still the same. Squares instead of mbytes. 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]
messages log
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 |