my configuration is valid: PageEncodig is windows 1251. but xml source in windows-1251-utf8-utf16 encoding, but xml entities in only in utf-16 encoding.
P,S. happy programmer's day :)