<?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>encodeURIComponent() &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/encodeuricomponent/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Tue, 13 Feb 2018 08:18:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>JavaScript encode cyrillic symbols with encodeURIComponent</title>
		<link>/2009/05/25/javascript-encode-cyrillic-symbols-with-encodeuricomponent/</link>
		<comments>/2009/05/25/javascript-encode-cyrillic-symbols-with-encodeuricomponent/#respond</comments>
		<pubDate>Mon, 25 May 2009 13:46:22 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[micro tutorial]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[cyrillic]]></category>
		<category><![CDATA[encode()]]></category>
		<category><![CDATA[encodeURIComponent()]]></category>

		<guid isPermaLink="false">/?p=585</guid>
		<description><![CDATA[JavaScript and Cyrillic Let&#8217;s assume we&#8217;ve a JavaScript file which rewrites the location.href, resulting in changes in the URI of the browser. Everything is OK till you work with Latin alphabet. The problem arises when you decide to put some Cyrillic symbols into the string. The encode() function With that function you can encode the &#8230; <a href="/2009/05/25/javascript-encode-cyrillic-symbols-with-encodeuricomponent/" class="more-link">Continue reading <span class="screen-reader-text">JavaScript encode cyrillic symbols with encodeURIComponent</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2009/03/05/flex-3-import-swf-symbols/" rel="bookmark" title="Flex 3 import swf symbols">Flex 3 import swf symbols </a></li>
<li><a href="/2010/03/09/what-make-javascript-closures-work/" rel="bookmark" title="What make JavaScript closures work?">What make JavaScript closures work? </a></li>
<li><a href="/2011/07/28/oop-javascript-accessing-public-methods-in-private-methods/" rel="bookmark" title="OOP JavaScript: Accessing Public Methods in Private Methods">OOP JavaScript: Accessing Public Methods in Private Methods </a></li>
<li><a href="/2010/01/31/speed-up-the-javascript-it-can-change-dramatically-the-user-experience/" rel="bookmark" title="Speed up the JavaScript. It can change dramatically the user experience.">Speed up the JavaScript. It can change dramatically the user experience. </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>JavaScript and Cyrillic</h2>
<p>Let&#8217;s assume we&#8217;ve a JavaScript file which rewrites the location.href, resulting in changes in the URI of the browser. Everything is OK till you work with Latin alphabet. The problem arises when you decide to put some Cyrillic symbols into the string.</p>
<h2>The encode() function</h2>
<p>With that function you can encode the URL if you have some entity symbols. It is not like but it should be something like encodeURI in PHP. The problem is that this function does not work correctly with Cyrillic symbols.</p>
<h2>Use encodeURIComponent</h2>
<p>There is another usefull function which does this. It&#8217;s called encodeURIComponent, and I strongly recomment its use.</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2009/03/05/flex-3-import-swf-symbols/" rel="bookmark" title="Flex 3 import swf symbols">Flex 3 import swf symbols </a></li>
<li><a href="/2010/03/09/what-make-javascript-closures-work/" rel="bookmark" title="What make JavaScript closures work?">What make JavaScript closures work? </a></li>
<li><a href="/2011/07/28/oop-javascript-accessing-public-methods-in-private-methods/" rel="bookmark" title="OOP JavaScript: Accessing Public Methods in Private Methods">OOP JavaScript: Accessing Public Methods in Private Methods </a></li>
<li><a href="/2010/01/31/speed-up-the-javascript-it-can-change-dramatically-the-user-experience/" rel="bookmark" title="Speed up the JavaScript. It can change dramatically the user experience.">Speed up the JavaScript. It can change dramatically the user experience. </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2009/05/25/javascript-encode-cyrillic-symbols-with-encodeuricomponent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
