Bug 746911 (encoding)

[meta] Implement the Encoding Standard

NEW
Unassigned

Status

()

enhancement
7 years ago
2 months ago

People

(Reporter: hsivonen, Unassigned)

Tracking

(Depends on 1 bug, Blocks 2 bugs, {meta})

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

()

Reporter

Description

7 years ago
Gecko should implement http://dvcs.w3.org/hg/encoding/raw-file/tip/Overview.html for better interoperability and for reduced brokenness.

This involves:
 * Changing the charset alias list to match the spec
 * Changing the Unicode converter API to be able to signal the end of the stream
 * Fixing various converters to signal errors per spec
 * Fixing various converters to behave per spec
 * Removing some converters
Depends on: 562096

Updated

7 years ago
Depends on: 711101
Depends on: 747762
Depends on: 749052
Depends on: 203838
Reporter

Updated

7 years ago
Depends on: 712310
Depends on: 782412
Depends on: 782721
Depends on: 736438
Depends on: 562091
Reporter

Updated

7 years ago
Depends on: 687859
Reporter

Updated

7 years ago
Depends on: 796882
Depends on: 797385
Depends on: 799910
Reporter

Updated

7 years ago
Depends on: 799913
Depends on: 801402
Reporter

Updated

7 years ago
Depends on: 802030
Reporter

Updated

7 years ago
Depends on: 802979
Reporter

Updated

7 years ago
Depends on: 805374
Depends on: 809934
Blocks: whatwg
Depends on: 827796
Alias: encoding
Reporter

Updated

6 years ago
Depends on: 844776
Is there any documentation on why the choices made in the encoding standard are as they are? In particular on the mix between windows and iso latin encodings?
Reporter

Comment 2

6 years ago
(In reply to Axel Hecht [:Pike] from comment #1)
> Is there any documentation on why the choices made in the encoding standard
> are as they are?

The set of encodings is based on researching the commonality between browsers. The basic assumption is that Web content wants to work in multiple browsers, so if only one browser supports a given fringe encoding, the encoding is probably not in significant use. IIRC, actual documentation of test results is somewhere in www-archive.

> In particular on the mix between windows and iso latin
> encodings?

When a windows encoding is a superset of an ISO encoding, the encoding standard retains the windows encoding and makes the ISO labels aliases thereof. In practice, the ISO labels already invoke decoders that are actually decoders for the corresponding windows encoding and IE reports the windows label (and has notable marketshare in many places).

In the cases where there's no windows superset for an ISO encoding, the Encoding Standard uses the ISO-8859-x label as the preferred name.
Depends on: 863728

Updated

6 years ago
Depends on: 562590

Updated

6 years ago
Depends on: 912470
Reporter

Updated

6 years ago
Depends on: 936440

Updated

6 years ago
Depends on: 951691
Reporter

Updated

6 years ago
Depends on: 959058

Updated

5 years ago
Depends on: 1093781

Updated

5 years ago
Depends on: 1092737

Updated

5 years ago
Depends on: 1102679
Reporter

Updated

4 years ago
Depends on: 1200152
Depends on: 1241432
Reporter

Updated

3 years ago
Depends on: 1257877
Depends on: 1312384

Updated

2 years ago
Depends on: 1215860

Updated

10 months ago
Depends on: 1486949

Updated

9 months ago
Depends on: 1460233

Updated

6 months ago
Depends on: 1513517
Reporter

Updated

6 months ago
Depends on: 1514664
Type: defect → enhancement
You need to log in before you can comment on or make changes to this bug.