我需要更改文档的xml声明部分,或者只选择数据减去声明。哪个更容易?
以下是我的xml示例:
<?xml version="1.0" encoding="utf-16"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master page-height="11in" page-width="8.5in" margin-top="0.50in" margin-left="0.8in" margin-right="0.8in" margin-bottom="0.25in" master-name="PageMaster">
<fo:region-body border-style="none" border-width="thin" margin-top="0in" margin-left="0in" margin-right="0in" margin-bottom="0.25in"/>
<fo:region-after border-style="none" border-width="thin" extent="0.25in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="PageMaster"/>
</fo:root>
我试图更改XML声明为:
<?xml version="1.0" encoding="iso-8859-1"?>
00 A0
,UTF-8的字节序列C2 A0
以及ANSI编码的字节序列A0
。同样地,检查ASCII范围之外的其他字符以进行一致性检查。要找出BLOB的字符编码,检查你的数据库。这些BLOB如何集成到结果文档中? - Tomalak