Вот тут написано почему, а
здесь DocGenerator.getDoc(str...)
меняем
PHP код:
doc = new XMLDocument();
//doc.appendChild(doc.createProcessingInstruction('xml', 'version="1.0" encoding="ISO-8859-1"'));
doc.appendChild(doc.createProcessingInstruction('xml', 'version="1.0" encoding="windows-1251"'));
и как говорят обычно "..будет тебе щастье..." (с)
зы: у меня уже есть