<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>String Function Blog &#187; Encode &#8211; Decode</title>
	<atom:link href="http://www.stringfunction.com/blog/category/encode-decode/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stringfunction.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 11 Oct 2010 13:25:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Html Encode Decode</title>
		<link>http://www.stringfunction.com/blog/html-encode-decode/</link>
		<comments>http://www.stringfunction.com/blog/html-encode-decode/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 18:38:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Encode - Decode]]></category>
		<category><![CDATA[Html Decode]]></category>
		<category><![CDATA[Html Decoding]]></category>
		<category><![CDATA[Html Encode]]></category>
		<category><![CDATA[Html Encoding]]></category>
		<category><![CDATA[Manipulate String]]></category>
		<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[String Function]]></category>

		<guid isPermaLink="false">http://www.stringfunction.com/blog/?p=95</guid>
		<description><![CDATA[Hi guys,
First of all, I want to say thank you everyone for your support!
Most of you asked me to add more functions.
Don&#8217;t forget, I add string functions on a weekly basis, so come back to check new string functions
Here are two new ones to deal with html entities:

Html Encode
Html Decode







Use the html encoder tool to [...]]]></description>
			<content:encoded><![CDATA[<p>Hi guys,<br />
First of all, I want to say thank you everyone for your support!<br />
Most of you asked me to add more functions.<br />
Don&#8217;t forget, I add <strong>string functions</strong> on a weekly basis, so come back to check<strong> new string functions</strong><br />
Here are two new ones to <span id="more-95"></span>deal with <strong>html entities</strong>:</p>
<ul>
<li><a href="http://www.stringfunction.com/html-encode.html">Html Encode</a></li>
<li><a href="http://www.stringfunction.com/html-decode.html">Html Decode</a></li>
</ul>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p>Use the <strong>html encoder tool</strong> to encode any html characters into <strong>html entities</strong>.<br />
Use the <strong>html decoder tool</strong> to decode any html encoded entities into <strong>html characters</strong>.<br />
Hope these will be useful<br />
Don&#8217;t forget, I add <strong>string functions</strong> on a weekly basis, so come back to check<strong> new string functions</strong><br />
David</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stringfunction.com/blog/html-encode-decode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>URL Encoding / Decoding and Percent Encoding / Decoding</title>
		<link>http://www.stringfunction.com/blog/url-encoding-decoding/</link>
		<comments>http://www.stringfunction.com/blog/url-encoding-decoding/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 09:42:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Encode - Decode]]></category>
		<category><![CDATA[ASCII]]></category>
		<category><![CDATA[Character]]></category>
		<category><![CDATA[Hex]]></category>
		<category><![CDATA[Hex to String]]></category>
		<category><![CDATA[Hexadecimal]]></category>
		<category><![CDATA[Percent Encoding]]></category>
		<category><![CDATA[RSA encryption]]></category>
		<category><![CDATA[Stri]]></category>
		<category><![CDATA[String to Hex]]></category>
		<category><![CDATA[Uniform Resource Locator]]></category>
		<category><![CDATA[Url Decode]]></category>
		<category><![CDATA[Url Encode]]></category>
		<category><![CDATA[XOR]]></category>

		<guid isPermaLink="false">http://www.stringfunction.com/blog/?p=88</guid>
		<description><![CDATA[The Uniform Resource Locator (URL) comprises several distinct parts. The Uniform Resource Name (URN), Uniform Resource Identifier (URI); and, in many cases, the appending of parameters or code elements. The traditional term for URL encoding is “Percent Encoding”, which is a less ambiguous description than URL encoding or URL decoding. There are other string functions [...]]]></description>
			<content:encoded><![CDATA[<p>The <strong>Uniform Resource Locator</strong> (URL) comprises several distinct parts. The Uniform Resource Name (URN), Uniform Resource Identifier (URI); and, in many cases, the appending of parameters or code elements. The traditional term for <a href="http://www.stringfunction.com/url-encode.html">URL encoding</a> is “<strong>Percent Encoding</strong>”, which is a less ambiguous<span id="more-88"></span> description than <strong>URL encoding</strong> or <a href="http://www.stringfunction.com/url-decode.html">URL decoding</a>. There are other string functions which are also called URL encoding which involve the passing of parameters and arguments to a cgi parsing engine.</p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p>
<strong>Percent encoding</strong> is simply the substitution of a <strong>hexadecimal value</strong> for a reserved symbol or character in a URL. This is necessary to prevent some <strong>programming languages</strong> from behaving erratically when a symbol in a URL string is misinterpreted as a command to the program. Usually the URL parser can <strong>decode string elements</strong> of a URL without problems; however, in order to maintain platform-independence, URLs use an <strong>encoded string</strong> according to industry standards. This is a critical component enabling uniform web programming language conventions.<br />
</p>
<h3>Example of Percent Encoding</h3>
<p>An example of <strong>percent encoding</strong> is a <a href="http://www.stringfunction.com/">string function</a> simple substitution of the reserved character ampersand (&amp;) with its hexadecimal equivalent (26) by using a <a href="http://www.stringfunction.com/string-hex.html">string to hexadecimal conversion function</a>. The parser needs to know when an <a href="http://www.stringfunction.com/blog/convert-ascii-string-to-hexadecimal-to-binary/">ASCII character is encoded</a> to decode the <a href="http://www.stringfunction.com/hex-string.html">hexadecimal to string</a>. The character percent (%) was selected to be followed by a two digit hexadecimal value to indicate the character. Thus, the ampersand would be represented as “%26” in the URL. Another common reserved character is the question mark (?), represented as %2F in the string. String function online programs are plentiful which provide <strong>encoding and decoding hexadecimal</strong> text and symbols. The characters are entered and the program will execute the <strong>string function online</strong>.</p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<h3>Shorten a URL</h3>
<p>Another <strong>string function</strong> that is mistakenly called URL encoding is the string conversion of a portion of the URL that serves one of two purposes. The URL can be significantly shortened as is demonstrated by the widely-known “TinyURL” <a href="http://www.stringfunction.com/url-encode.html">URL encoding online</a> application. A target URL is encoded and stored on the site and a much smaller, more readable URL is returned. The URL decoding online is handled by the parsing engine of the TinyURL servers and passed through to the internet to complete the connection.<br />
</p>
<h3>RSA encryption</h3>
<p>Another <a href="http://www.stringfunction.com/">string function online tool</a> is a simple form of RSA encryption using pairs of large prime numbers and modulo arithmetic to generate a string of hexadecimal digits. This is usually done to obfuscate parameters and arguments and prevent – or at least discourage – online user alterations. Another commonly used string function is Exclusive OR (XOR) masking of a known string with any other string to return an incomprehensible result. The decryption is simply taking the result and use the XOR with the known string to return the original unencrypted string.<br />
<br />
For those needing additional information, there are many <strong>string function tutorials</strong> which describe strings and functions in exhausting detail. Entering the type of <strong>string function</strong> and its application into any well-known search engine will turn up a number of resources available to explain the specifics of any string functions.<br />
<img alt="" src="http://www.stringfunction.com/img/url-encode-url-decode.jpg" title="Url Encode - Url Decode - Percent Encoding" class="aligncenter" width="442" height="267" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stringfunction.com/blog/url-encoding-decoding/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

