先include httpapp.hpp

再调用HTMLDecode(str)即可,还包括

HTMLEncode(const System::UnicodeString AStr);

extern PACKAGE System::AnsiString __fastcall HTTPDecode(const System::AnsiString AStr);
extern PACKAGE System::AnsiString __fastcall HTTPEncode(const System::AnsiString AStr);

posted on 2011-04-21 18:38  袁晓平  阅读(608)  评论(1编辑  收藏  举报