学习老肖教程第三章后碰到个修改报表的问题,问一下是怎么回事
-
拜读过老肖第一版教程关于报表修改的部分,于是动手修改几个报表,从最简单的中文化开始。有几个报表很顺利直接修改.rml文件就可以了。但是碰到几个rml文件要是把里面的英文改成了中文就会报这个错误:
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "serviceweb_services.pyo", line 687, in go
File "reportreport_sxw.pyo", line 364, in create
File "reportreport_sxw.pyo", line 421, in create_source_pdf
File "reportreport_sxw.pyo", line 433, in create_single_pdf
File "lxml.etree.pyx", line 2416, in lxml.etree.XML (src/lxml/lxml.etree.c:23987)
File "parser.pxi", line 1511, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:64170)
File "parser.pxi", line 1390, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:63103)
File "parser.pxi", line 932, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:60168)
File "parser.pxi", line 538, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:56751)
File "parser.pxi", line 624, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:57595)
File "parser.pxi", line 564, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56993)
XMLSyntaxError: Input is not proper UTF-8, indicate encoding !
Bytes: 0xBF 0xE2 0xB4 0xE6, line 126, column 23这个是什么原因?我用ultraEdit改的