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.

Bug 140176 - [65cat] Code completion in HTML/XHTML does not work properly in tr_TR (Turkish) locale
Summary: [65cat] Code completion in HTML/XHTML does not work properly in tr_TR (Turkis...
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-07-15 22:44 UTC by havan
Modified: 2009-05-18 10:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
HTML/XHTML tag corruption in tr_TR.UTF-8 locale (Turkish locale) (115.87 KB, image/png)
2008-07-15 22:48 UTC, havan
Details
Log of the IDE runned after clean userdir (66.55 KB, text/plain)
2008-07-18 14:11 UTC, havan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description havan 2008-07-15 22:44:25 UTC
[ 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.
Comment 1 havan 2008-07-15 22:48:43 UTC
Created attachment 64617 [details]
HTML/XHTML tag corruption in tr_TR.UTF-8 locale (Turkish locale)
Comment 2 Petr Dvorak 2008-07-18 13:48:54 UTC
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
Comment 3 havan 2008-07-18 14:03:35 UTC
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
Comment 4 havan 2008-07-18 14:09:35 UTC
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.
Comment 5 havan 2008-07-18 14:11:28 UTC
Created attachment 64962 [details]
Log of the IDE runned after clean userdir
Comment 6 Petr Dvorak 2008-07-18 14:26:18 UTC
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.
Comment 7 Petr Dvorak 2008-08-03 11:36:22 UTC
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.
Comment 8 Marek Fukala 2008-08-08 07:33:17 UTC
s.toLowerCase() problem IMHO. Changed to s.toLowerCase(Locale.ENGLISH)

hopefully fixed in revision 829995718995

reporter, please verify.
Comment 9 Quality Engineering 2008-08-08 15:42:56 UTC
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
Comment 10 Petr Dvorak 2009-02-09 11:32:11 UTC
Verified