Simon
Guest
|
Posted:
Mon Dec 12, 2005 12:52 am Post subject:
Can't insert traditional chinese character using WebDAV |
|
|
Hi,
I would like to create the distribution list through the WebDAV. However i
found that i can't insert traditional chinese character. Is that i need to
change the chinese character to unicode first rather than i just type the
chinese character?
Below is the code for reference:
Set ObjxmlHttp = CreateObject("MSXML2.ServerXMLHTTP")
xmlstr = ""
xmlstr = xmlstr & "Cmd=save" & vbLf
xmlstr = xmlstr & "msgclass=IPM.DistList" & vbLf
xmlstr = xmlstr & "http://schemas.microsoft.com/mapi/dlname=NewDlName"
ObjxmlHttp.Open "POST", "http://server/public/test2/", false, "domain\user",
"pass"
ObjxmlHttp.setRequestHeader "Accept-Language", "en-us"
ObjxmlHttp.setRequestHeader "Content-type", "application/x-www-UTF8-encoded"
ObjxmlHttp.setRequestHeader "Content-Length", Len(xmlstr)
ObjxmlHttp.Send xmlstr
where NewDlName i have try to input traditional chinese character. I have
also change the Accept-Language to "zh-tw" but it still doesn't work.
Would you mind giving me some suggestions?
Thanks very much.
|
|