Closed Bug 66055 Opened 24 years ago Closed 24 years ago

JavaScript doesn't fire when containing intl chars

Categories

(Core :: Internationalization, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 51355
Future

People

(Reporter: bugzilla, Assigned: jst)

References

()

Details

(Keywords: intl)

Attachments

(1 file)

If you have the following in mozilla and click "test" nothing happens <a href="javascript:var x='på'; alert(x);">test</A> the console says: Error loading URL javascript:var%20x=%27p%E5%27;%20alert(x);: 805303f5 JavaScript error: line 0: missing variable name Works both in IE and Netscape 4.x This however will work in mozilla: <a href="javascript:var x='paa'; alert(x);">test</A> Build 20010119
Attached file html testcase (deleted) —
The characters encountered by the browser are handled by the browser embedding of the JS Engine, not the JS engine itself. Reassigning to Internationalization component for further triage - cc'ing jst. Is this a dupe of bug 55468?
Assignee: rogerl → nhotta
Component: Javascript Engine → Internationalization
QA Contact: pschwartau → teruko
Summary: javascript doesnt fire when containing int chars → JavaScript doesn't fire when containing int chars
Reassign to jst.
Assignee: nhotta → jst
Keywords: intl
This bug has been marked "future" because the original netscape engineer workingon this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug,or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
Target Milestone: --- → Future
What can I say other than this is gonna break web pages. But as long as I still have Netscape 4.x or IE laying around it's not a mission critical bug. But this will not help me to be 100% Mozilla user...:)
We probably don't care if this only a issue in alert. But I think the alert here is just use as a simplified test case. The real problem is these JavaScript is inside the HREF. We escape them since other URL need to be escaped but we didn't consider the case for JavaScript. What we should do is find out the code between the layout engine and the javaScript code and unescape it back by using the document charset. I think this bug is in the border line of fixing or not fixing. Let's keep this as future untill we find breakage in the real world case.
Summary: JavaScript doesn't fire when containing int chars → JavaScript doesn't fire when containing intl chars
live URL: http://www.jubii.dk/robert/ try to click on "STEM" just left of "Bænken".
cc to momoi
*** This bug has been marked as a duplicate of 51355 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified as dup.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: