See the the description of the PR and the FIXME comment below.
The orignal Mozilla code is MPL. JChardet is a port of that, but my code is in fact closer to the original Mozilla code. Anyway, the license information is here:  http://jchardet.cvs.sourceforge.net/viewvc/jchardet/jchardet/LICENSE?revision=1.1&view=markup