added ability for display pages which contain text in windows 1251 encoding