Added support for the Middle Eastern text encodings