Closed
Bug 1681736
Opened 5 years ago
Closed 5 years ago
Deployed documentation source is served without an encoding, so Firefox chooses Window-1252 erroneously
Categories
(Developer Infrastructure :: Source Documentation, defect)
Developer Infrastructure
Source Documentation
Tracking
(firefox85 fixed)
RESOLVED
FIXED
85 Branch
| Tracking | Status | |
|---|---|---|
| firefox85 | --- | fixed |
People
(Reporter: julienw, Assigned: jcristau)
Details
Attachments
(1 file)
STR:
- Open https://firefox-source-docs.mozilla.org/l10n/fluent/review.html
- Click on "View Page Source" at the top.
- Notice how the "nice" quotes like ’ or ʼ (not sure which one it is here) are displayed like this:
’
The reason is that Firefox chose the encoding Windows-1252 because no encoding was specified in the header or the file has no BOM.
I'd suggest to set the file attribute with the right encoding when pushing it to S3.
| Assignee | ||
Comment 1•5 years ago
|
||
Setting charset to utf-8 seems a safer bet than the default latin1 these
days.
Updated•5 years ago
|
Assignee: nobody → jcristau
Status: NEW → ASSIGNED
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dac17b4bc238
Set character set when uploading docs. r=sylvestre DONTBUILD
Comment 3•5 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox85:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•