Open Bug 1590952 Opened 6 years ago Updated 1 year ago

Unicode "degree Celsius" character improperly handled in search

Categories

(Core :: Find Backend, enhancement, P3)

70 Branch
enhancement

Tracking

()

People

(Reporter: hast.daniel, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:70.0) Gecko/20100101 Firefox/70.0

Steps to reproduce:

  1. Navigate to https://en.wikipedia.org/w/index.php?title=Celsius&oldid=922584477#Unicode_character
  2. Press Ctrl + F to search for text within the page
  3. Search for either "°C" (U+00B0 ° DEGREE SIGN + U+0043 C LATIN CAPITAL LETTER C) or "℃" (U+2103 ℃ DEGREE CELSIUS)

Actual results:

The search strings "°C" and "℃" are not treated as identical; searching for one does not find instances of the other.

Expected results:

According to the Unicode standard, those two strings should be treated as identical for search purposes. This is specified in the subsection titled "Unit Symbols" in section 22.2 of the Unicode 9.0.0 standard, found here: https://www.unicode.org/versions/Unicode9.0.0/ch22.pdf

Has STR: --- → yes
Component: Untriaged → Find Backend
Product: Firefox → Core

The priority flag is not set for this bug.
:mikedeboer, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mdeboer)
Severity: normal → N/A
Status: UNCONFIRMED → NEW
Type: defect → enhancement
Ever confirmed: true
Flags: needinfo?(mdeboer)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.