libchardet is based on Mozilla Universal Charset Detector library and, detects the character set used to encode data. based on a submission from Lydia Sobot ok robert@