Closed Bug 81090 Opened 24 years ago Closed 24 years ago

NS_ConvertASCIItoUCS2 in nsHTMLAnchorElement, should be NS_ConvertUTF8toUCS2

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: nhottanscp, Assigned: jst)

References

Details

(Keywords: intl)

Attachments

(1 file)

There are several places in nsHTMLAnchorElement.cpp which use NS_ConvertASCIItoUCS2, they should be NS_ConvertUTF8toUCS2 instead. I will attach a patch for nsHTMLAnchorElement::GetHref first which is needed for other bug 74137. But I think other places has to be reviewed and change to NS_ConvertUTF8toUCS2 if necessary.
Keywords: intl
Blocks: 74137
r=ftang
Asked jst for a super review. I will leave remaining usage of NS_ConvertASCIItoUCS2 to jst. So the test case is, create a non ASCII anchor in editor then create a link to it it will use this function (see bug 74137 for detail).
sr=jst
checked in the patch for nsHTMLAnchorElement::GetHref
No longer blocks: 74137
Can this bug be closed now? I restored the dependency relation. Nhotta, please leave dependencies after you check in fixes for the bug (this one) that blocks the dependent bug (bug 74137). Bugzilla will strike out the bug number link if the bug is closed. /be
Status: NEW → RESOLVED
Closed: 24 years ago
Depends on: 74137
Resolution: --- → FIXED
No longer depends on: 74137
D'oh! /be
Blocks: 74137
Updating QA contact to Shivakiran Tummala.
QA Contact: desale → stummala
patch checked in ...verified
Status: RESOLVED → VERIFIED
Component: DOM: HTML → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: