delphi html解码 [英] delphi html decode
本文介绍了delphi html解码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Delphi 2009,想要解码一个HTML编码的字符串,例如:
I'm using Delphi 2009 and want to decode an HTML encoded string, for example:
' -> '
但是找不到任何内置函数。
But cannot find any built in function for doing this.
提前感谢
推荐答案
查看 HTTPApp 单位。 HTTPDecode和HTMLDecode(以及Encode函数)。您应该在Source / Win32 / Internet文件夹中找到。
Look at the HTTPApp unit. HTTPDecode and HTMLDecode (as well as the Encode functions). You should find this in your Source/Win32/Internet folder.
这篇关于delphi html解码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文