<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : c&#111;nverting text in DB</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : c&#111;nverting text in DB]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 13 Apr 2026 07:13:19 +0000</pubDate>
  <lastBuildDate>Thu, 23 Jun 2005 12:36:47 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=6123</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[c&#111;nverting text in DB : I believe Borg has included the...]]></title>
   <link>https://forums.webwiz.net/converting-text-in-db_topic6123_post85658.html#85658</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=9949">dpyers</a><br /><strong>Subject:</strong> 6123<br /><strong>Posted:</strong> 23&nbsp;June&nbsp;2005 at 12:36pm<br /><br />I believe Borg has included the alphabet in the decode function becausehe also encodes some reserved words that could be entered in text boxesand used as part of an sql injection attack.]]>
   </description>
   <pubDate>Thu, 23 Jun 2005 12:36:47 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/converting-text-in-db_topic6123_post85658.html#85658</guid>
  </item> 
  <item>
   <title><![CDATA[c&#111;nverting text in DB :   Gullanian wrote: thgins like...]]></title>
   <link>https://forums.webwiz.net/converting-text-in-db_topic6123_post85623.html#85623</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=20890">Detonator</a><br /><strong>Subject:</strong> 6123<br /><strong>Posted:</strong> 23&nbsp;June&nbsp;2005 at 6:27am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Gullanian" alt="Originally posted by Gullanian" style="vertical-align: text-bottom;" /> <strong>Gullanian wrote:</strong><br /><br /><P>thgins like <FONT color=#0000cc>&amp;#111; </FONT><FONT color=#000000>are HTML entities which stand for potentialy hamrful symbals such as ', &lt;, &gt;, % etc etc.&nbsp; By replacing them with their HTML entity equivalent you make inputting data more secure.</FONT></P><P>Its a sacrafice worth making.</P></td></tr></table> <DIV>&nbsp;</DIV><DIV>Hello all,</DIV><DIV>&nbsp;</DIV><DIV>I came along to this page looking for information on a script that I'm working on for WW, and I was having this same problem regarding these "special" characters getting replaced by "&amp;#nnn" entities. I understand the problem with things like &lt;, &gt;, %, etc. But, out of curioisity,&nbsp;what harm can the letter "o" (ASCII code 111) do? because this letter specifically gets replaced by &amp;#111 and I can't see any logic reason to do this, as it's plain a plain letter.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV>]]>
   </description>
   <pubDate>Thu, 23 Jun 2005 06:27:56 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/converting-text-in-db_topic6123_post85623.html#85623</guid>
  </item> 
  <item>
   <title><![CDATA[c&#111;nverting text in DB : GOT IT! Thanks guys! ~Matt (www.zeuscomputers.co.uk)...]]></title>
   <link>https://forums.webwiz.net/converting-text-in-db_topic6123_post29659.html#29659</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=7868">Mattblack</a><br /><strong>Subject:</strong> 6123<br /><strong>Posted:</strong> 04&nbsp;October&nbsp;2003 at 5:22am<br /><br /><P>GOT IT!<BR><IMG src="https://forums.webwiz.net/smileys/smiley17.gif" border="0"></P><P>Thanks guys!&nbsp;</P><P>~Matt (<A href="http://www.zeuscomputers.co.uk" target="_blank">www.zeuscomputers.co.uk</A>)</P>]]>
   </description>
   <pubDate>Sat, 04 Oct 2003 05:22:40 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/converting-text-in-db_topic6123_post29659.html#29659</guid>
  </item> 
  <item>
   <title><![CDATA[c&#111;nverting text in DB : If you are showing it on a web...]]></title>
   <link>https://forums.webwiz.net/converting-text-in-db_topic6123_post29556.html#29556</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 6123<br /><strong>Posted:</strong> 03&nbsp;October&nbsp;2003 at 10:40am<br /><br />If you are showing it on a web page you dn't need to remove theencoding as they are HTML character entities so your browser willdisplay them as the correct characters to anyone viewing the web page.<br><br>If you really must remove them then use this code:-<br><br><table width="99%"><tr><td><pre class="BBcode"><font color="#800000" size="2">&lt;% Dim rs<br>Set rs = Server.CreateObject ("ADODB.Recordset")<br>rs.Open "members", "DSN=mydnshere"<br>While Not rs.EOF<br>Response.Write "" &amp; </font><font size="2" style="color: rgb(255, 0, 0);">decodeString(</font><font color="#800000" size="2">rs("email")<span style="color: rgb(255, 0, 0);">)</span><br>Response.Write "&lt;br&gt;"<br>rs.MoveNext<br>Wend<br>rs.Close<br>Set rs = Nothing %&gt;</pre></td></tr></table><br><span style="color: rgb(0, 0, 0);">Put the bit in shown in red and also include the function from my last post somewhere in the same asp file.</span><br></font>]]>
   </description>
   <pubDate>Fri, 03 Oct 2003 10:40:06 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/converting-text-in-db_topic6123_post29556.html#29556</guid>
  </item> 
  <item>
   <title><![CDATA[c&#111;nverting text in DB : ok, im good - but not THAT good....]]></title>
   <link>https://forums.webwiz.net/converting-text-in-db_topic6123_post29549.html#29549</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=7868">Mattblack</a><br /><strong>Subject:</strong> 6123<br /><strong>Posted:</strong> 03&nbsp;October&nbsp;2003 at 10:22am<br /><br /><P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=3>ok, im good - but not THAT good.&nbsp; Thanks so far though</FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=3>How do i include that in my asp then?</FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=3>For example, a simple bit of code might read email addresses from it, that will obviously contain harmful characters.</FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=3>It would read like this....</FONT></P><FONT color=#800000 size=1><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P>&lt;% Dim rs<BR>Set rs = Server.CreateObject ("ADODB.Recordset")<BR>rs.Open "members", "DSN=mydnshere"<BR>While Not rs.EOF<BR>Response.Write "" &amp; rs("email")<BR>Response.Write "&lt;br&gt;"<BR>rs.MoveNext<BR>Wend<BR>rs.Close<BR>Set rs = Nothing %&gt;</P></BLOCKQUOTE><P dir=ltr align=left><FONT face="Verdana, Arial, Helvetica, sans-serif" color=#000000 size=3>How would i include it in the example shown?</FONT></P><P dir=ltr align=left><FONT face="Verdana, Arial, Helvetica, sans-serif" color=#000000 size=3>Cheers again!</FONT></P></FONT>]]>
   </description>
   <pubDate>Fri, 03 Oct 2003 10:22:19 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/converting-text-in-db_topic6123_post29549.html#29549</guid>
  </item> 
  <item>
   <title><![CDATA[c&#111;nverting text in DB : The forum code has a function...]]></title>
   <link>https://forums.webwiz.net/converting-text-in-db_topic6123_post29424.html#29424</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 6123<br /><strong>Posted:</strong> 02&nbsp;October&nbsp;2003 at 3:26pm<br /><br />The forum code has a function to decode this.<br><br>You need to run the data you pull from the database through the following function:-<br><br><table width="99%"><tr><td><pre class="BBcode">'*********************************************<br>'***&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; Decode HTML encoding&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;*****<br>'*********************************************<br><br>'Decode encoded strings<br>Private Function decodeString(ByVal strInputEntry)<br><br>&nbsp;&nbsp;&nbsp; 'DEcode HTML character entities<br><br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#097;", "a", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#098;", "b", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#099;", "c", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#100;", "d", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#101;", "e", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#102;", "f", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#103;", "g", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#104;", "h", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#105;", "i", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#106;", "j", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#107;", "k", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#108;", "l", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#109;", "m", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#110;", "n", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#111;", "o", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#112;", "p", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#113;", "q", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#114;", "r", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#115;", "s", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#116;", "t", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#117;", "u", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#118;", "v", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#119;", "w", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#120;", "x", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#121;", "y", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#122;", "z", 1, -1, 0)<br><br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#065;", "A", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#066;", "B", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#067;", "C", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#068;", "D", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#069;", "E", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#070;", "F", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#071;", "G", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#072;", "H", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#073;", "I", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#074;", "J", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#075;", "K", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#076;", "L", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#077;", "M", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#078;", "N", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#079;", "O", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#080;", "P", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#081;", "Q", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#082;", "R", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#083;", "S", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#084;", "T", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#085;", "U", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#086;", "V", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#087;", "W", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#088;", "X", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#089;", "Y", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#090;", "Z", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#061;", "=", 1, -1, 0)<br><br><br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#048;", "0", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#049;", "1", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#050;", "2", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#051;", "3", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#052;", "4", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#053;", "5", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#054;", "6", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#055;", "7", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#056;", "8", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;#057;", "9", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;lt;", "&lt;", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;gt;", "&gt;", 1, -1, 0)<br>&nbsp;&nbsp;&nbsp; strInputEntry = Replace(strInputEntry, "&amp;amp;", "&amp;", 1, -1, 0)<br><br>&nbsp;&nbsp;&nbsp; 'Return<br>&nbsp;&nbsp;&nbsp; decodeString = strInputEntry<br>End Function</pre></td></tr></table><br>]]>
   </description>
   <pubDate>Thu, 02 Oct 2003 15:26:58 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/converting-text-in-db_topic6123_post29424.html#29424</guid>
  </item> 
  <item>
   <title><![CDATA[c&#111;nverting text in DB : thgins like &amp;amp;#111; are HTML...]]></title>
   <link>https://forums.webwiz.net/converting-text-in-db_topic6123_post29422.html#29422</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1100">Gullanian</a><br /><strong>Subject:</strong> 6123<br /><strong>Posted:</strong> 02&nbsp;October&nbsp;2003 at 3:20pm<br /><br /><P>thgins like <FONT color=#0000cc>&amp;#111; </FONT><FONT color=#000000>are HTML entities which stand for potentialy hamrful symbals such as ', &lt;, &gt;, % etc etc.&nbsp; By replacing them with their HTML entity equivalent you make inputting data more secure.</FONT></P><P>Its a sacrafice worth making.</P>]]>
   </description>
   <pubDate>Thu, 02 Oct 2003 15:20:38 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/converting-text-in-db_topic6123_post29422.html#29422</guid>
  </item> 
  <item>
   <title><![CDATA[c&#111;nverting text in DB : Hi all, Just wondering how to...]]></title>
   <link>https://forums.webwiz.net/converting-text-in-db_topic6123_post29419.html#29419</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=7868">Mattblack</a><br /><strong>Subject:</strong> 6123<br /><strong>Posted:</strong> 02&nbsp;October&nbsp;2003 at 3:11pm<br /><br /><P>Hi all,</P><P>Just wondering how to solve this...</P><P>Im using V6.4 on my website.&nbsp; When people register or post, it all appears as normal, but if you look in the database then you get things like this inserted all over the place....<BR><FONT color=#0000cc>&amp;#111;</FONT></P><P>So when i create a page to draw certain strings and email address out of the database, i have things like that all over the page and need to get rid of it.&nbsp; I know its got to be something to do with the language file or something, but what is it?&nbsp; And what should i include on the pages that i create to stop it from happening???</P><P>Cheers</P><P>Matt</P>]]>
   </description>
   <pubDate>Thu, 02 Oct 2003 15:11:08 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/converting-text-in-db_topic6123_post29419.html#29419</guid>
  </item> 
 </channel>
</rss>