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.
[ BUILD # : 200807101204 ] [ JDK VERSION : 1.6.0_07 ] Code completion in HTML/XHTML files has an error; all the tags with an letter "i" inside are corrupted. For example <big> becomes <bıg> and <li> becomes <lı> and so on. This problem has got a workaround; If I start the IDE with "--locale en_US" parameter it works fine. I will attach a screenshot to better describe the situation.
Created attachment 64617 [details] HTML/XHTML tag corruption in tr_TR.UTF-8 locale (Turkish locale)
Hi havan! I was unable to reproduce this issue - I have started IDE with a parameter "--locale tr_TR" (clean userdir) and character "i" was displayed correctly. Can you please do following for us: 1. Copy the information from "Help>About" and paste it here 2. Go to Tools>Options, select Fonts&Colors, then select "All Languages" in languages, category "Default" and see which font is set as your default font for IDE (I have "Monospaced 13") 3. Attach your IDE log file as an attachment (can be found in the ~/.netbeans/<version>/var/log/ folder) - you can just send a ZIP of the "log" folder
Default font for the IDE is Monospace 13. ----- Help/About info ------- Product Version: NetBeans IDE Dev (Build 200807170007) Java: 1.6.0_07; Java HotSpot(TM) Client VM 10.0-b23 System: Linux version 2.6.25.10-102 running on i386; UTF-8; tr_TR (nb) Userdir: /home/havan/.netbeans/dev
I reproduce this issue with clean userdir. I will attacht that sessions log file. The issue here is not the displaying of the char "i". When I type "i" it is displayed ok. The issue is code completion suggest wrong tag names like <bıg>, <lı> or <cıte>. "i" and "ı" are different characters in Turkish locale. So something must be wrong with lowercasing and uppercasing process of the tag names. Please examine the previous attachment; a screenshot that show the problem.
Created attachment 64962 [details] Log of the IDE runned after clean userdir
Thank you for the attachments - I hope it will help. I saw the first attachment and I see where the problem is - however it works OK with my IDE.
From nbusers: Asim YILDIZ wrote: hello, i faced with this problem on my netbeans6 on my ubuntu 8.04. when i try to complete the javascript code by pressing "Tab", it completes it with wrong characters. is it about my locale setting?? for example: when i write down <scr"Tab" netbeans completes it as <scrıpt> not <script> any help will be appreciated thx.
s.toLowerCase() problem IMHO. Changed to s.toLowerCase(Locale.ENGLISH) hopefully fixed in revision 829995718995 reporter, please verify.
Integrated into 'main-golden', available in build *200808081401* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/829995718995 User: Marek Fukala <mfukala@netbeans.org> Log: #140176 - [65cat] Code completion in HTML/XHTML does not work properly in tr_TR (Turkish) locale
Verified