It has nothing to do with a program you use for a web page design. Just add charset=windows-1251 ( or the whole line below if your page doesn't have the meta "Content-Type" tag at all ) into header...