Perl class that implement efficient mapping tables between 8-bit charsets and Unicode