Closed Bug 1060566 Opened 10 years ago Closed 6 years ago

[email] Get encoding aliases upstreamed.

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mcav, Unassigned)

Details

In bug 885110, we transitioned to email.js libraries, and in the process, lost some of our encoding aliases. :asuth's notes follow:

  get our other encoding aliases upstreamed and thereby back into our codebase.  from asuth's notes:

    encoding  aliases: faux-encoding.js had a bunch of aliases for what TextEncoder  didn't provide.  verify those went to the right place.  (we do have unit  tests for these, so we are probably fine if they were translated/etc.  appropriately)

    mimefuncs.js' mimefuncs.charset.normalizeCharset covers:

    /^utf[\-_]?(\d+)$/i is identical to our /^utf[\-_]?(\d+)$/ yay

    /^win[\-_]?(\d+)$/i is NOT identical to our /^(?:(?:win(?:dows)?)|ms)[\-_]?(\d+)$/

    missing various things like "ms949", "windows_949".

    /^latin[\-_]?(\d+)$/i is identical to our /^latin[\-_]?(\d+)$/ yay

    missing: /^us_?ascii$/ mapping to ascii
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.