Closed Bug 1137799 Opened 9 years ago Closed 9 years ago

AutoConfig files are not loaded as UTF-8

Categories

(Toolkit :: Preferences, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: mkaply, Assigned: mkaply)

References

Details

Attachments

(1 file)

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
Very simple fix. We were assuming the file was ASCII.
Assignee: nobody → mozilla
Attachment #8589778 - Flags: review?(dtownsend)
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+
[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
https://hg.mozilla.org/mozilla-central/rev/dd23898c54d1
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
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)
Yes, we'll just let it ride the train.
Flags: needinfo?(mozilla)
Depends on: 1193625
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: