Re: enabling charset detection
Jean-Marc Desperrier <[email protected]> Sat, 05 Mar 2005 16:24:03 +0100
| Newsgroups | gmane.comp.mozilla.internationalization |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
[email protected] wrote: > I'm trying to use charset detection in my embedding application but > can't solve some problems. [...] > Where can I find this chardet.dll file and can > anybody explain me the right way on using mozilla charset detection > component in embedding applications? If you were using XPCOM in your application, you'd probably know enough about mozilla to find your way out of this. So I assume your application is not really an embedding application in the usually mozilla meaning, and you don't use XPCOM. There's no reason to include it just for universal detection. And the pre-compiled universialchardet.dll requires XPCOM. You'd better start from this page : http://www.mozilla.org/projects/intl/detectorsrc.html and notice that the patch of Bug 178790 has been checked in, so it is much easier now to include only the source of the charset detector in your application, without the xpcom wrapper layer. I hope someday there's a sample of using the charset detector without XPCOM, but not yet.