Closed Bug 108285 Opened 23 years ago Closed 23 years ago

nsCharsetConverterManager (uconv) depends on chardet

Categories

(Core :: Internationalization, defect, P2)

x86
Windows 2000
defect

Tracking

()

RESOLVED FIXED
mozilla0.9.7

People

(Reporter: alecf, Assigned: alecf)

Details

Attachments

(1 file)

there is only one tiny dependency which is causing uconv to depend on the
chardet module - in nsCharsetConverterManager, there is a function
GetCharsetDetectorList(), which enumerates registry entries.. and to get the
registry root, we need NS_CHARSET_DETECTOR_REG_BASE

the simple solution is to just replace the use of NS_CHARSET_DETECTOR_REG_BASE
with the raw character string, but it makes me wonder if
GetCharsetDetectorList() isn't in the wrong location. Maybe it should be in
nsICharsetDetector() instead...
now that I know the default owner, reassigning to me

The reason that this is important is that this means anyone who pulls in uconv
pulls in chardet, and chardet is a very large module with many dependencies
Assignee: yokoyama → alecf
Priority: -- → P2
Target Milestone: --- → mozilla0.9.7
this got fixed along with another bug
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Changed QA contact to alecf@netscape.com.
QA Contact: teruko → alecf
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: