| Summary: | [testcase] javascript window.open strWindowName with non-latin chars cause opening of additional tab | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Māris Nartišs <maris.kde> | 
| Component: | khtml ecma | Assignee: | Konqueror Bugs <konqueror-bugs-null> | 
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | maksim | 
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Bug testcase | ||
| 
        
          Description
        
        
          Māris Nartišs
        
        
        
        
          2006-11-15 10:48:19 UTC
        
       Created attachment 18561 [details]
Bug testcase
Open testcase, click on both "Click here" sentences.
First one opens same page in new window;
Second one opens new window with empty tab and second tab with target url.
Clicking on second "click here" should act as same as first one - open new
window with target url w/o any additional tabs etc.It works here Doesn't here. Weird stuff. Locale-sensitive, may be? I can confirm - it's locale sensitive.
Set "LC_CTYPE" to any UTF-8 locale (i.e. "en_US.UTF-8" or in my case "lv_LV.UTF-8") and You will be able to reproduce bug. Setting LC_ALL also works :)
To disable bug - set LC_ALL or LC_CTYPE to any non-UTF locale ("en_US", "POSIX").Fixed in revision 632575. Konqueror was setting the part name with the local 8-bit encoding. The KHMTL part was not respecting this when searching for the name. |