forked from Thirdparty/wvp
将xml解析编码设定为GB2312,以满足GB28181要求
parent
08af41b1dd
commit
1f48ec21cd
|
@ -100,6 +100,7 @@ public class MessageRequestProcessor implements ISIPRequestProcessor {
|
|||
|
||||
Request request = evt.getRequest();
|
||||
SAXReader reader = new SAXReader();
|
||||
reader.setEncoding("gbk");
|
||||
Document xml;
|
||||
try {
|
||||
xml = reader.read(new ByteArrayInputStream(request.getRawContent()));
|
||||
|
|
Loading…
Reference in New Issue