You are not logged in.
Pages: 1
Can I find a method that converts the html character entities to normal text?
Something like: result := HtmlEncode('"Me&You"&'); -> "Me&You"&
Offline
In the JVcl you can find something like this in the unit JvStrToHtml.
With best regards
Thomas
Offline
Does not work for hex encoded characters for example "
Offline
Does not work for hex encoded characters for example "
I used SynCommons.HexToChar in my custom SynCommons.TTextWriter as a part of XML unescape add-method.
Also THTMLEncoding.DoDecode might help: http://docwiki.embarcadero.com/Librarie … MLEncoding (haven't tried it myself though)
Last edited by Vitaly (2021-05-02 00:55:36)
Offline
Pages: 1