fixed bugs in certain encodings, improved encoding sniffer and added more features; etc.