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.
I found that typing some characters in persian language is not correct. I think this problem is from some wrong codepage keys assignment to characters. As you can see in attached picture some characters with a red line below them are wrong and you can see right one of them with green color. * There is no such a problem with windows OS, i see it in linux kubuntu and ubuntu. ** As you see in attached picture i have not such problem with Kate and other non java editors in linux. so problem is exist only in java in linux.
Created attachment 49099 [details] error show
this might be related to known situation in general that jdk does not have font props customized for ubuntu; we see this in using japanese and chinese characters. I am guessing that since its ok on windows, that it might be this, rather than situation with handling of rtl languages; although there are known issue for rtl languages. I'll try to find some info on how to install ubuntu's own jdk and send it, to see if that might help; it has helped to some extent with japanese and chinese characters. for example, see http://wiki.netbeans.org/wiki/view/FaqI18nLinuxAsianFonts there is one pointer to info on ubuntu 6, but not for 7; I will look for that info. if problem is about the jdk being used, we can update this faq page. ken.frank@sun.com
Could you please try reproducing this problem with Java Notepad application? You can launch it from commandline such as: java -jar $JAVA_HOME/demo/jfc/Notepad/Notepad.jar If the problem exists even in the Notepad application, than it's most likely JDK issue or configuration problem. Thanks
Closing this - not enough info. Azizi, if you are still experiencing this problem, please reopen and add some additional info that could help (please try the Notepad as vstejskal suggests) Thank you
Ok, in ubuntu i can not find notepad.jar but i write a simple java application with text field and text area. i do not have such a problem with them, so problem is exist only in netbeans editor. so jdk have not any problem, I think. the only different i see between netbeans editor and text field control is their fonts. so maybe it all about a font problem. how can i change the netbeans editor font to test it?
The font can be changed in Tools-> Options-> Fonts&Colors -> Syntax
azizi does it happen if project uses utf-8 (default) project encoding and also another project with encoding of the locale you are in (which I am assuming is a persian locale ) ? what is the locale name that you are running in also ? ken.frank@sun.com
it seems the problem is about fonts. the default monospace font have not some Persian characters. so when i select another font, problem solved.
Font issue.