C
cgr_hacker
Unregistered / Unconfirmed
GUEST, unregistred user!
从scoket中得到一个http头信息如下:
POST /product/w_query.asp HTTP/1.1
Accept: */*
Referer: http://127.0.0.1:8888/product/w_allwatch.asp
Accept-Language: zh-cn
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Host: 127.0.0.1:8888
Content-Length: 111
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: ck_www_title=%B2%E2%CA%D4%D3%C3%BB%A7; VisitNum=2; ASPSESSIONIDQGGQGXGU=PFNBJLODAFBCGPJJNGHAIFAJ
keyword=%AD%5E%26%2332435%3B%AE%E6&w_shape=&w_price_l=0&w_price_h=10000000&w_brand=&Submit3.x=15&Submit3.y=6
其中,keyword是post的一个参数,后面的值是gb2312的中文,我怎么将这段中文转化为big5的呢?
还有Cookie后面的也是中文的,也需要转化,
请教高手!
谢谢!!!
POST /product/w_query.asp HTTP/1.1
Accept: */*
Referer: http://127.0.0.1:8888/product/w_allwatch.asp
Accept-Language: zh-cn
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Host: 127.0.0.1:8888
Content-Length: 111
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: ck_www_title=%B2%E2%CA%D4%D3%C3%BB%A7; VisitNum=2; ASPSESSIONIDQGGQGXGU=PFNBJLODAFBCGPJJNGHAIFAJ
keyword=%AD%5E%26%2332435%3B%AE%E6&w_shape=&w_price_l=0&w_price_h=10000000&w_brand=&Submit3.x=15&Submit3.y=6
其中,keyword是post的一个参数,后面的值是gb2312的中文,我怎么将这段中文转化为big5的呢?
还有Cookie后面的也是中文的,也需要转化,
请教高手!
谢谢!!!