Closed Bug 1275474 Opened 8 years ago Closed 7 years ago

nsIUnicodeNormalizer should use ICU library if turned on

Categories

(Core :: Internationalization, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox49 --- affected

People

(Reporter: m_kato, Assigned: m_kato)

Details

Attachments

(2 obsolete files)

For reducing table...
Assignee: nobody → m_kato
By bug 1261900, Compress and DecomposeNonRecursively are no logner used when ICU is turned on.  So it shouldn't be used with ICU.

Review commit: https://reviewboard.mozilla.org/r/55014/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/55014/
Attachment #8756257 - Flags: review?(jfkthame)
Attachment #8756258 - Flags: review?(jfkthame)
IIRC, currently nsIUnicodeNormalizer implements an old version (3.2?) of Unicode, because of legacy IDN considerations. (I wanted to update it at one point -- there's probably still an open bug -- but the IDN dependency was a problem.)

If we do this, updating the behavior of nsIUnicodeNormalizer when ICU is in use (which also means we're using ICU for IDN processing), then we'll be exposing different normalization behavior on Android vs other platforms..... Does that matter?
(In reply to Makoto Kato [:m_kato] from comment #2)
> By bug 1261900, Compress and DecomposeNonRecursively are no logner used when
> ICU is turned on.  So it shouldn't be used with ICU.

Bug-number typo: just FTR, the relevant bug there is 1161900.
(In reply to Jonathan Kew (:jfkthame) from comment #4)
> IIRC, currently nsIUnicodeNormalizer implements an old version (3.2?) of
> Unicode, because of legacy IDN considerations. (I wanted to update it at one
> point -- there's probably still an open bug -- but the IDN dependency was a
> problem.)

Ah OK.

> If we do this, updating the behavior of nsIUnicodeNormalizer when ICU is in
> use (which also means we're using ICU for IDN processing), then we'll be
> exposing different normalization behavior on Android vs other platforms.....
> Does that matter?

I see.  Before it, I should integrate ICU (Bug 1262102) at first.  Until landing it, I should cancel this.
Attachment #8756257 - Attachment is obsolete: true
Attachment #8756257 - Flags: review?(jfkthame)
Attachment #8756258 - Attachment is obsolete: true
Attachment #8756258 - Flags: review?(jfkthame)
Also, this XPCOM uses some addons and plugin code (NPNVdocumentOrigin)...
I removed nsIUnicodeNormalizer
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: