我的代码:
char temp; char str[500]; lr_convert_string_encoding(lr_eval_string("麦塑料兜"),LR_ENC_SYSTEM_LOCALE, LR_ENC_UTF8 ,"temp"); strcat(str,"URL=http://passport.sohu.com/sso/login.jsp?userid="); strcat(str,lr_eval_string("{temp}")); strcat(str,"%40focus.cn&password=9cbf8a4dcb8e30682b927f352d6559a0&appid=1019&persistentcookie=1&isSLogin=1&s=1326111344928&b=5&w=1440&pwdtype=1&v=26"); lr_message( lr_eval_string("{str}") ); web_url("login.jsp", str, // "URL=http://passport.sohu.com/sso/login.jsp?userid={yourname}%40focus.cn&password=9cbf8a4dcb8e30682b927f352d6559a0&appid=1019&persistentcookie=1&isSLogin=1&s=1326111344928&b=5&w=1440&pwdtype=1&v=26", "Resource=0", "RecContentType=text ml", "Referer=http://i.sohu.com/login/logon.do", "Snapshot=t184.inf", "Mode=HTML", LAST);
参考:http://www.52testing.com/showart.asp?id=50