@jackiebi: Thank you it works. I changed AddDefaultCharset to windows-1251 and it worked. But the problem I have now is it has a "п?ї" in first place on every page. Do you know how to fix it?