通过使用模式,有没有简单/简单的方法来验证xml msg的编码?
假设xml的第一行"不"值得信赖?例如,忽略?xml version ="1.0"encoding ="UTF-8"?
xml schema xsd utf-8 utf
schema ×1
utf ×1
utf-8 ×1
xml ×1
xsd ×1