Using 4D v15 ... I need to convert the special characters in a text string to HTML entities. I'm trying to accomplish this using the PROCESS 4D TAGS command but can't get it to work.
Here's my test code: vHtmlContents:="ABCé ©® here's a test" tinput:="<!--#4DTEXT vHtmlContents-->" *PROCESS 4D TAGS*(tinput;toutput) Result: output = ABCé ©® here's a test or vHtmlContents:="ABCé ©® here's a test" tinput:="<!--#4DHTML vHtmlContents-->" *PROCESS 4D TAGS*(tinput;toutput) Result: output = ABCé ©® here's a test Clearly I'm missing something ... but what? TIA Pat -- ************************************************* CatBase - The Database Publishing Solution tel: +44 (0) 207 118 7889 w: http://www.catbase.com skype: pat.bensky ************************************************* ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************