c++ builder调用htmlencode

先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);

原文地址:https://www.cnblogs.com/yuanxiaoping_21cn_com/p/2024051.html