<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How-To: URL Encode NSString in Objective-C</title>
	<atom:link href="http://blog.evandavey.com/2009/01/how-to-url-encode-nsstring-in-objective-c.html/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.evandavey.com/2009/01/how-to-url-encode-nsstring-in-objective-c.html</link>
	<description>Tech tips, hints, and general musings. PHP, Perl, Mysql, Javascript, AJAX, JSON, Linux, Mac OSX</description>
	<lastBuildDate>Tue, 22 Nov 2011 00:50:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: not working correctly</title>
		<link>http://blog.evandavey.com/2009/01/how-to-url-encode-nsstring-in-objective-c.html/comment-page-1#comment-1891</link>
		<dc:creator>not working correctly</dc:creator>
		<pubDate>Sat, 16 Jul 2011 02:05:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.evandavey.com/?p=362#comment-1891</guid>
		<description>I&#039;ve tested it using Chinese characters. This function returns the null string.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tested it using Chinese characters. This function returns the null string.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: trying</title>
		<link>http://blog.evandavey.com/2009/01/how-to-url-encode-nsstring-in-objective-c.html/comment-page-1#comment-1882</link>
		<dc:creator>trying</dc:creator>
		<pubDate>Wed, 22 Jun 2011 08:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.evandavey.com/?p=362#comment-1882</guid>
		<description>trying to see comments made</description>
		<content:encoded><![CDATA[<p>trying to see comments made</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: biayo</title>
		<link>http://blog.evandavey.com/2009/01/how-to-url-encode-nsstring-in-objective-c.html/comment-page-1#comment-1850</link>
		<dc:creator>biayo</dc:creator>
		<pubDate>Mon, 14 Mar 2011 20:37:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.evandavey.com/?p=362#comment-1850</guid>
		<description>handy, but won&#039;t escape slashes</description>
		<content:encoded><![CDATA[<p>handy, but won&#8217;t escape slashes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nithin</title>
		<link>http://blog.evandavey.com/2009/01/how-to-url-encode-nsstring-in-objective-c.html/comment-page-1#comment-1837</link>
		<dc:creator>nithin</dc:creator>
		<pubDate>Mon, 31 Jan 2011 13:35:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.evandavey.com/?p=362#comment-1837</guid>
		<description>how to encode an array into json in objectiveC?</description>
		<content:encoded><![CDATA[<p>how to encode an array into json in objectiveC?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: durai</title>
		<link>http://blog.evandavey.com/2009/01/how-to-url-encode-nsstring-in-objective-c.html/comment-page-1#comment-1800</link>
		<dc:creator>durai</dc:creator>
		<pubDate>Sat, 13 Nov 2010 07:18:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.evandavey.com/?p=362#comment-1800</guid>
		<description>Hi iPhone Dev,

I will suggest you to have two method/function(s) one for escaped URL and other one for un-escaped URL and ask the user to use the corresponding one. I do not think there is no other solution other than this.

Thank you..</description>
		<content:encoded><![CDATA[<p>Hi iPhone Dev,</p>
<p>I will suggest you to have two method/function(s) one for escaped URL and other one for un-escaped URL and ask the user to use the corresponding one. I do not think there is no other solution other than this.</p>
<p>Thank you..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iPhone Dev</title>
		<link>http://blog.evandavey.com/2009/01/how-to-url-encode-nsstring-in-objective-c.html/comment-page-1#comment-1786</link>
		<dc:creator>iPhone Dev</dc:creator>
		<pubDate>Thu, 28 Oct 2010 09:12:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.evandavey.com/?p=362#comment-1786</guid>
		<description>hi,
i have a function that gets a url in NSString format.My function makes a HTTP call to that url. i have a function that gets a NSString and encodes it. all i want is there any way that i could check that the url string is already encoded or not. Right now i am having problem that if a user passes an encoded url i call my encode function and it reencode &quot;%&quot; into %25.


e.g user input www.abc.com?my%20country
after encoding i get www.abc.com?my%2520country

thnx:)</description>
		<content:encoded><![CDATA[<p>hi,<br />
i have a function that gets a url in NSString format.My function makes a HTTP call to that url. i have a function that gets a NSString and encodes it. all i want is there any way that i could check that the url string is already encoded or not. Right now i am having problem that if a user passes an encoded url i call my encode function and it reencode &#8220;%&#8221; into %25.</p>
<p>e.g user input <a href="http://www.abc.com?my%20country" rel="nofollow">http://www.abc.com?my%20country</a><br />
after encoding i get <a href="http://www.abc.com?my%2520country" rel="nofollow">http://www.abc.com?my%2520country</a></p>
<p>thnx:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prashant</title>
		<link>http://blog.evandavey.com/2009/01/how-to-url-encode-nsstring-in-objective-c.html/comment-page-1#comment-1633</link>
		<dc:creator>Prashant</dc:creator>
		<pubDate>Fri, 19 Feb 2010 05:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.evandavey.com/?p=362#comment-1633</guid>
		<description>NSString * encodedString = (NSString *)CFURLCreateStringByAddingPercentEscapes(NULL,(CFStringRef)yourtext,NULL,(CFStringRef)@&quot;!*&#039;();:@&amp;=+$,/?%#[]&quot;,kCFStringEncodingUTF8 );</description>
		<content:encoded><![CDATA[<p>NSString * encodedString = (NSString *)CFURLCreateStringByAddingPercentEscapes(NULL,(CFStringRef)yourtext,NULL,(CFStringRef)@&#8221;!*&#8217;();:@&amp;=+$,/?%#[]&#8220;,kCFStringEncodingUTF8 );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl</title>
		<link>http://blog.evandavey.com/2009/01/how-to-url-encode-nsstring-in-objective-c.html/comment-page-1#comment-1509</link>
		<dc:creator>Carl</dc:creator>
		<pubDate>Sun, 15 Nov 2009 19:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.evandavey.com/?p=362#comment-1509</guid>
		<description>This actually doesn&#039;t work.  I tried it on a string containing a plus sign (+), and it did not convert it to %2B.  Took me a while, but once I caught this, my application worked as expected.  I&#039;m looking for some other built in URL encoding, but in the mean time this table seems to be correct as to what needs to be replaced:

http://webdesign.about.com/od/forms/a/url_encoding.htm</description>
		<content:encoded><![CDATA[<p>This actually doesn&#8217;t work.  I tried it on a string containing a plus sign (+), and it did not convert it to %2B.  Took me a while, but once I caught this, my application worked as expected.  I&#8217;m looking for some other built in URL encoding, but in the mean time this table seems to be correct as to what needs to be replaced:</p>
<p><a href="http://webdesign.about.com/od/forms/a/url_encoding.htm" rel="nofollow">http://webdesign.about.com/od/forms/a/url_encoding.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DASKAjA</title>
		<link>http://blog.evandavey.com/2009/01/how-to-url-encode-nsstring-in-objective-c.html/comment-page-1#comment-1283</link>
		<dc:creator>DASKAjA</dc:creator>
		<pubDate>Thu, 27 Aug 2009 12:58:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.evandavey.com/?p=362#comment-1283</guid>
		<description>If you&#039;re a developer which lives outside the US, you have to deal most of the time with foreign characters etc. NSUTF8StringEncoding does the trick.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re a developer which lives outside the US, you have to deal most of the time with foreign characters etc. NSUTF8StringEncoding does the trick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://blog.evandavey.com/2009/01/how-to-url-encode-nsstring-in-objective-c.html/comment-page-1#comment-1211</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Tue, 04 Aug 2009 04:36:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.evandavey.com/?p=362#comment-1211</guid>
		<description>nice easy fix, thanks</description>
		<content:encoded><![CDATA[<p>nice easy fix, thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

