Closed Bug 1414393 Opened 7 years ago Closed 3 years ago

Cleanup encoding in nsSearchService

Categories

(Firefox :: Search, enhancement, P3)

57 Branch
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1649165

People

(Reporter: mkaply, Unassigned)

Details

(Whiteboard: [fxsearch])

Currently nsSearchService is a mess of encodings.

If no encoding is specified when an engine is added via addEngineWithDetails, we use windows-1252.

the default query charset is ISO-8859-1.

Per the spec, we're supposed to be defaulting to UTF-8 for the encoding query:

http://www.opensearch.org/Specifications/OpenSearch/1.1#The_.22InputEncoding.22_element

The change to windows-1252 was because of this bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=1372994

But for some reason the query charset wasn't changed.
Priority: -- → P3
Whiteboard: [fxsearch]

I'm dealing with this in bug 1649165.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.