关于xml文件字符编码的问题?是请高手的请进!
我有这样一个xml文件
<?xml version= "1.0 " standalone= "yes "?> <DATAPACKET Version= "2.0 "> <METADATA> <FIELDS> <FIELD attrname= "PerUUID " fieldtype= "string.uni " WIDTH= "508 "/> <FIELD attrname= "PerName " fieldtype= "string.uni " WIDTH= "508 "/> <FIELD attrname= "PerSex " fieldtype= "string.uni " WIDTH= "508 "/> <FIELD attrname= "PerAge " fieldtype= "string.uni " WIDTH= "508 "/> <FIELD attrname= "PerJob " fieldtype= "string.uni " WIDTH= "508 "/> <FIELD attrname= "PerRole " fieldtype= "string.uni " WIDTH= "508 "/> <FIELD attrname= "PerMemo " fieldtype= "string.uni " WIDTH= "508 "/> <FIELD attrname= "UPassword " fieldtype= "string.uni " WIDTH= "508 "/> <FIELD attrname= "LoginName " fieldtype= "string.uni " WIDTH= "508 "/> <FIELD attrname= "PerDept " fieldtype= "string.uni " WIDTH= "508 "/> <FIELD attrname= "PrjID " fieldtype= "i4 "/> <FIELD attrname= "DeptID " fieldtype= "string.uni " WIDTH= "508 "/> <FIELD attrname= "DeptName " fieldtype= "string.uni " WIDTH= "508 "/> <FIELD attrname= "DeptMemo " fieldtype= "bin.hex " SUBTYPE= "Text "/> </FIELDS> <PARAMS/> </METADATA> <ROWDATA> <ROW PerUUID= "001 " PerName= "刘翔 " PerSex= "男 " UPassword= "d41d8cd98f00b204e9800998ecf8427e " LoginName= "刘翔 " PerDept= "0001 " PrjID= "0 " DeptID= "0001 " DeptName= "aaaa "/> <ROW PerUUID= "011 " PerName= "gulong " PerSex= "男 " UPassword= "d41d8cd98f00b204e9800998ecf8427e " LoginName= "gulong " PerDept= "0001 " PrjID= "0 " DeptID= "0001 " DeptName= "aaaa "/> </ROWDATA> </DATAPACKET>
这个文件的PerName= "刘翔 " 编码在浏览器中显示的是PerName= "刘翔 "
不知道这个编码是怎样生成的?请高手指点。
[解决办法]
ascw( "刘 ")