Closed Bug 1589786 Opened 5 years ago Closed 5 years ago

Case-insensitive search for text written in the Deseret alphabet doesn't work

Categories

(Core :: Find Backend, defect)

71 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox71 --- wontfix
firefox72 --- fixed

People

(Reporter: alexhenrie24, Assigned: alexhenrie24)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

  1. Consider the example text "𐐐𐐯𐑊𐐬 𐐶𐐯𐑉𐑊𐐼!" ("Hello world!" with a capital H)

  2. Search this page for "𐐸𐐯𐑊𐐬" (all-lowercase "hello").

Expected results: "𐐸𐐯𐑊𐐬" matches "𐐐𐐯𐑊𐐬".

Actual results: "𐐸𐐯𐑊𐐬" does not match "𐐐𐐯𐑊𐐬".

The same problem occurs when doing a case-insensitive search with Osage or any other script with both uppercase and lowercase forms that cannot be represented in Unicode's basic multilingual plane.

Depends on: 1591069
Keywords: checkin-needed

Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0063a5b2f5b3
Handle surrogate pairs in nsFind. r=Ehsan

Keywords: checkin-needed

Ahhh Windows has its own IS_SURROGATE_PAIR macro, so we'll have to call ours NS_IS_SURROGATE_PAIR.

Flags: needinfo?(alexhenrie24)
Attachment #9102691 - Attachment description: Bug 1589786 - Handle surrogate pairs in nsFind. → Bug 1589786 - Handle surrogate pairs in nsFind. r=Ehsan
Keywords: checkin-needed
Assignee: nobody → alexhenrie24
Status: NEW → ASSIGNED

Pushed by ccoroiu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dd540d2cdc4d
Handle surrogate pairs in nsFind. r=Ehsan

Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: