Status

()

Core
Internationalization
4 years ago
6 months ago

People

(Reporter: hsivonen, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
Currently, we use nsACString both for encoding labels and encodings. If we had  a special type for encodings, it would be more obvious which values are labels that must be resolved into encodings before use and which are encodings that must not be re-resolved to avoid the fact that "replacement" is an encoding but unknown as a label.
(Reporter)

Updated

2 years ago
Depends on: 1261841
(Reporter)

Comment 1

7 months ago
Bug 1261841 has landed. It adds const mozilla::Encoding* for this purpose. Next we need to use it everywhere.
(Reporter)

Updated

7 months ago
Depends on: 1373984

Updated

7 months ago
Depends on: 1374629
You need to log in before you can comment on or make changes to this bug.