This is a simple class that can be used to guess the character set encoding of an Arabic text string. It analyzes the text string and counts the frequency of occurrence of characters with certain codes. It computes the probability value of the text being encoded in some of the most likely character set encodings: windows-1256, iso-8859-6 and utf-8.