[Webkit-unassigned] [Bug 27366] New: TextEncodingDetector that uses Universal Charset Detector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 17 03:44:16 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27366

           Summary: TextEncodingDetector that uses Universal Charset
                    Detector
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kwangyul.seo at gmail.com


Add a TextEncodingDetector implementation that uses Universal Charset Detector
from Mozilla.

The source code is taken from Mozilla:

mozilla-central/extensions/universalchardet/src/base/


Universal Charset Detector is not usually available as a shared C/C++ library,
so I included all code. The original code consists of many files, but I merged
all source files into a single file to  add it to the build system of many
WebKit ports easily.

I changed the coding style to follow WebKit Style Guidelines and I ran
cpplint.py to ensure that there are no style errors. However, I've not changed
the class and method names of Mozilla code. I think it is better to preserve
the original class and method names. Please tell if there is the policy on this
issue.

Currently, there is only one implementation of TextEncodingDetector,
TextEncodingDetectorICU. Ports without ICU can use
TextEncodingDetectorUniversal by default because it imposes no external
dependency.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list