Closed
Bug 1137799
Opened 9 years ago
Closed 9 years ago
AutoConfig files are not loaded as UTF-8
Categories
(Toolkit :: Preferences, defect)
Tracking
()
RESOLVED
FIXED
mozilla40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: mkaply, Assigned: mkaply)
References
Details
Attachments
(1 file)
602 bytes,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
I have no idea how this has been around so long. If you have an AutoConfig file that looks like this; // Components.utils.reportError("é"); You get é on the console. The AutoConfig file is not being loaded as UTF-8
Assignee | ||
Comment 1•9 years ago
|
||
Relevant code is here. http://mxr.mozilla.org/mozilla-central/source/extensions/pref/autoconfig/src/nsReadConfig.cpp#234
Assignee | ||
Comment 2•9 years ago
|
||
Very simple fix. We were assuming the file was ASCII.
Assignee: nobody → mozilla
Attachment #8589778 -
Flags: review?(dtownsend)
Comment 3•9 years ago
|
||
Comment on attachment 8589778 [details] [diff] [review] Very simple fix for problem. No idea who owns this stuff these days but this change seems sane enough
Attachment #8589778 -
Flags: review?(dtownsend) → review+
Assignee | ||
Comment 4•9 years ago
|
||
[Tracking Requested - why for this release]: Sorry for the lateness in the cycle, but I'd really like this for the Firefox 38 if possible, primarily because of the ESR. As we move forward in encouraging people to use AutoConfig (instead of distribution/bundles), we'll need i18n to work correctly. In addition, it allows me to remove some hacks in the CCK2. This is very low risk and only affects AutoConfig. https://hg.mozilla.org/integration/mozilla-inbound/rev/dd23898c54d1
tracking-firefox-esr38:
--- → ?
Comment 5•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/dd23898c54d1
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Comment 6•9 years ago
|
||
Hi Mike, it has been a while since this bug has been touched. It has missed multiple ESR releases. Are you alright with it being untracked for ESR?
Flags: needinfo?(mozilla)
Assignee | ||
Comment 7•9 years ago
|
||
Yes, we'll just let it ride the train.
tracking-firefox-esr38:
? → ---
Flags: needinfo?(mozilla)
You need to log in
before you can comment on or make changes to this bug.
Description
•