We do return "windows-1251" for HeaderName and WebName for encoding 1251, and they can be used as workaround.