|
录制完之后脚本:
"Name=ddlParentList", "Value=??", ENDITEM,
"Name=txtDeptPrincipal", "Value=??", ENDITEM,
"Name=txtUpperLeader", "Value=??", ENDITEM,
中文内容都显示成问号
修改之后脚本:
lr_convert_string_encoding(lr_eval_string("{NewParam}"),LR_ENC_SYSTEM_LOCALE,LR_ENC_UTF8,"str");
web_submit_data("DeptItem.aspx_2",
"Action=http://win2008test/JHSoft.Web.Departments/DeptItem.aspx?key=1&actionType=0&ouID=1",
"Method=POST",
"RecContentType=text/html",
"Referer=http://win2008test/JHSoft.Web.Departments/DeptItem.aspx?key=1&actionType=0&ouID=1",
"Snapshot=t120.inf",
"Mode=HTTP",
ITEMDATA,
"Name=__EVENTTARGET", "Value=btnYes", ENDITEM,
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState8}", ENDITEM,
"Name=txtDeptID", "Value=", ENDITEM,
"Name=txtDeptName", "Value=", ENDITEM,
"Name=ddlParentList", "Value={str}", ENDITEM,
"Name=txtDeptPrincipal", "Value={str}", ENDITEM,
"Name=txtUpperLeader", "Value={str}", ENDITEM,
"Name=txtDeptOrder", "Value=", ENDITEM,
"Name=txtRemark", "Value=", ENDITEM,
"Name=deptid", "Value=1", ENDITEM,
"Name=IsApply", "Value=yes", ENDITEM,
"Name=deptPrincipalid", "Value=", ENDITEM,
"Name=upperLeaderid", "Value=", ENDITEM,
LAST);
但是输出的时候还是中文,请问各位是什么问题呢? |
|