Its been on my todo list to port the Mozilla chardet code to a Unix lib/binary, but now I’ve an excuse to get lazy. Yay Mark!