|
From: <bob...@us...> - 2003-07-31 05:58:57
|
Update of /cvsroot/ebxmlms/ebxmlms/src/hk/hku/cecid/phoenix/message/packaging
In directory sc8-pr-cvs1:/tmp/cvs-serv2327/src/hk/hku/cecid/phoenix/message/packaging
Modified Files:
EbxmlMessage.java
Log Message:
Force the content type to have charset = "UTF-8" in soap part.
Index: EbxmlMessage.java
===================================================================
RCS file: /cvsroot/ebxmlms/ebxmlms/src/hk/hku/cecid/phoenix/message/packaging/EbxmlMessage.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** EbxmlMessage.java 29 Jul 2003 09:23:54 -0000 1.33
--- EbxmlMessage.java 31 Jul 2003 05:58:54 -0000 1.34
***************
*** 1220,1225 ****
buffer = Constants.MIME_BOUNDARY_PREFIX + mimeBoundary + Constants.CRLF;
buffer = buffer + Constants.CONTENT_TYPE + ": "
! + Constants.TEXT_XML_TYPE + Constants.CRLF;
! buffer = buffer + Constants.CONTENT_ID + ": "
+ soapMessage.getSOAPPart().getContentId() + Constants.CRLF;
buffer = buffer + Constants.CONTENT_TRANSFER_ENCODING + ": "
--- 1220,1226 ----
buffer = Constants.MIME_BOUNDARY_PREFIX + mimeBoundary + Constants.CRLF;
buffer = buffer + Constants.CONTENT_TYPE + ": "
! + Constants.TEXT_XML_TYPE + "; " + Constants.CHARACTER_SET + "=\""
! + Constants.CHARACTER_ENCODING + "\"" + Constants.CRLF;
! buffer = buffer + Constants.CONTENT_ID + ": "
+ soapMessage.getSOAPPart().getContentId() + Constants.CRLF;
buffer = buffer + Constants.CONTENT_TRANSFER_ENCODING + ": "
|