# ASP : HTMLEncode not working

**URL:** <https://forum.kirupa.com/t/asp-htmlencode-not-working/167063>\
**Category:** Uncategorized\
**Created:** [October 25, 2005, 4:39am UTC](https://forum.kirupa.com/t/asp-htmlencode-not-working/167063 "2005-10-25T04:39:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dinkumrocks](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@dinkumrocks](https://forum.kirupa.com/u/dinkumrocks)\
**Post date:** [October 25, 2005, 4:39am UTC](https://forum.kirupa.com/t/asp-htmlencode-not-working/167063/1 "2005-10-25T04:39:15Z")

</div>

Hey guys. I’m having a problem with asp. this is my code…

\<%=Server.HTMLEncode(RScomments(“item\_body”))%\>

simple as that, but im still getting stuff like “does+this+work%3F”

It’s relaly annoying ☹

-Naaman
