Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我从一个由 php 脚本填充的 mysql 数据库中读取数据。所有特殊字符都将转换为命名或编号的 html 实体(例如 & amp ; & # 2 8 6 ;)。我知道没有办法将这些字符转换回 Delphi 中的原始字符作为 unicode 字符串。有没有人发现甚至创建过这样的功能?这对我很有帮助。谢谢!马克
在 Delphi 2007 中有一个名为HTTPApp.pas的单元(在 [Delphi 文件夹]\Source\Win32\Internet 中),它具有HTMLEncode和HTMLDecode功能。他们可能值得一看。