Perl module that detects the encoding of data
