The author has 4 posts.
Font size: Small - 100% (Default)  Content converter: No conversion
 
Clicks Replies
998 3
http的中文乱码问题已经解决了
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 1 Posted at: 6/8/16 21:54
HttpContent h;
h.lpszAgent = TEXT("abc");
h.lpszServer = TEXT("localhost");
h.lpszPage = TEXT("test/post.php");
h.nPort = 81;
h.plPost.SetParam(TEXT("this"), TEXT("中文问题已解决"));
h.Download(true);

LPWSTR lp = UTF8To16((LPSTR)h.GetData());
SetWindowTextW(hWnd, lp);
free(lp);
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 2 Posted at: 6/8/16 21:54
h.plPost = TEXT("this=测试额");
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 3 Posted at: 6/8/16 22:20
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 4 Posted at: 6/9/16 22:36

Reply @巨大八爪鱼 on Floor 3:

这是因为
1.没有开启SSL
2.没有在URL的最后一个目录名后加/
Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.
(Shortcut key: Ctrl+Enter)
Post Information
Clicks: 998 Replies: 3
Author: 巨大八爪鱼
Last reply: 巨大八爪鱼
Last reply time: 6/9/16 22:36
Bar Hot Posts
Bar Good Posts
Announcements