Closed
Bug 239942
Opened 22 years ago
Closed 15 years ago
Mozilla doesn't support drop in encoder/decoders
Categories
(Core :: Internationalization, defect)
Core
Internationalization
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: mkaply, Assigned: smontagu)
Details
Attachments
(1 file)
|
1.70 KB,
patch
|
smontagu
:
review+
|
Details | Diff | Splinter Review |
Currently if I create a new encoder/decoder in a DLL and drop it into
components, Mozilla won't recognize it because it requires an entry in
charsetAlias.properties.
My fix for this is in nsCharsetAliasImpl.cpp. If GetPreferred fails (we can't
find it in the properties file) we check to see if that encoding is registered
as a contract id. If it is, we let it pass as a character set.
This allows drop in encoder/decoders without changes to charsetAlias.properties.
| Reporter | ||
Comment 1•22 years ago
|
||
This patch checks for an encoder if the value is not in the
charsetAlias.properties file by looking at the components that have been
registered.
| Reporter | ||
Updated•21 years ago
|
Attachment #145652 -
Flags: review?(smontagu)
| Assignee | ||
Comment 2•21 years ago
|
||
Comment on attachment 145652 [details] [diff] [review]
Allow any encoder
r=smontagu, assuming that you actually need this :-)
Attachment #145652 -
Flags: review?(smontagu) → review+
Comment 3•17 years ago
|
||
Extentions can easily override charsetAlias.properties. For example, see Big5-HKSCS Patch.
https://addons.mozilla.org/firefox/addon/9294
Is this bug still valid?
Updated•16 years ago
|
QA Contact: amyy → i18n
Comment 4•15 years ago
|
||
Do we really want this? I don't think we should be encouraging even more encoding proliferation.
| Reporter | ||
Comment 5•15 years ago
|
||
Probably not anymore. Simon?
| Assignee | ||
Comment 6•15 years ago
|
||
Agreed
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•