首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VB >

关于xml文件字符编码的有关问题?是请高手的请进

2012-03-06 
关于xml文件字符编码的问题?是请高手的请进!我有这样一个xml文件?xmlversion 1.0 standalone yes ?

关于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= "&#21016;&#32724; "   PerSex= "&#30007; "   UPassword= "d41d8cd98f00b204e9800998ecf8427e "   LoginName= "&#21016;&#32724; "   PerDept= "0001 "   PrjID= "0 "   DeptID= "0001 "   DeptName= "aaaa "/> <ROW   PerUUID= "011 "   PerName= "gulong "   PerSex= "&#30007; "   UPassword= "d41d8cd98f00b204e9800998ecf8427e "   LoginName= "gulong "   PerDept= "0001 "   PrjID= "0 "   DeptID= "0001 "   DeptName= "aaaa "/> </ROWDATA> </DATAPACKET>


这个文件的PerName= "&#21016;&#32724; "   编码在浏览器中显示的是PerName= "刘翔 "
不知道这个编码是怎样生成的?请高手指点。

[解决办法]
ascw( "刘 ")

热点排行