<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Web Forms</title><link>http://forums.asp.net/18.aspx</link><description>All about building ASP.NET Pages - server controls, events, validation, etc.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Url escaped chars not decoded properly</title><link>http://forums.asp.net/thread/3287331.aspx</link><pubDate>Sat, 11 Jul 2009 09:34:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3287331</guid><dc:creator>gavinharriss</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3287331.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3287331</wfw:commentRss><description>&lt;p&gt;Found the solution here: &lt;a href="http://groups.google.com/group/DotNetDevelopment/browse_thread/thread/3bcdbf7d10014ebd"&gt;http://groups.google.com/group/DotNetDevelopment/browse_thread/thread/3bcdbf7d10014ebd&lt;/a&gt;&lt;/p&gt;&lt;p&gt;The trick is to use &lt;b&gt;encodeURIComponent &lt;/b&gt;instead of &lt;b&gt;escape &lt;/b&gt;in the JavaScript! :)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Url escaped chars not decoded properly</title><link>http://forums.asp.net/thread/3287320.aspx</link><pubDate>Sat, 11 Jul 2009 09:22:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3287320</guid><dc:creator>gavinharriss</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3287320.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3287320</wfw:commentRss><description>&lt;p&gt;Seems I&amp;#39;m not alone in encountering this prob...&lt;/p&gt;&lt;p&gt;&lt;a href="http://forums.asp.net/p/1442127/3268857.aspx"&gt;http://forums.asp.net/p/1442127/3268857.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;unfortunately there was no real solution given :(&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Url escaped chars not decoded properly</title><link>http://forums.asp.net/thread/3274995.aspx</link><pubDate>Sat, 04 Jul 2009 23:14:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274995</guid><dc:creator>gavinharriss</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274995.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3274995</wfw:commentRss><description>&lt;p&gt;For the real-life example check out this url:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.yougodo.com/en/FullMap.aspx?lat=36.80241249444501&amp;amp;lng=-4.325523376464844&amp;amp;z=9&amp;amp;i=true&amp;amp;cm=2&amp;amp;ss=true&amp;amp;trgt=_blank&amp;amp;p=true&amp;amp;pc=FFFFFF&amp;amp;pd=Cortijo%20Mara%F1%F3n"&gt;http://www.yougodo.com/en/FullMap.aspx?lat=36.80241249444501&amp;amp;lng=-4.325523376464844&amp;amp;z=9&amp;amp;i=true&amp;amp;cm=2&amp;amp;ss=true&amp;amp;trgt=_blank&amp;amp;p=true&amp;amp;pc=FFFFFF&amp;amp;pd=Cortijo%20Mara%F1%F3n&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Click the white map pin with the X and you&amp;#39;ll see the problem caused by the bad decoding.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Url escaped chars not decoded properly</title><link>http://forums.asp.net/thread/3274988.aspx</link><pubDate>Sat, 04 Jul 2009 22:44:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274988</guid><dc:creator>gavinharriss</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274988.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3274988</wfw:commentRss><description>&lt;p&gt;Hi Ram, you&amp;#39;ve misunderstood my post...&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The problem is not the spaces - these are getting encoded / decoded without issue as you can see in the example I gave.&lt;/p&gt;&lt;p&gt;The problem is with the &lt;b&gt;ñó&lt;/b&gt; chars which are encoded client side by JavaScript to &lt;b&gt;%F1%F3&lt;/b&gt; which ASP.NET decodes server side to &lt;b&gt;��&lt;/b&gt;.&lt;/p&gt;&lt;p&gt;They are not getting decoded correctly!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Url escaped chars not decoded properly</title><link>http://forums.asp.net/thread/3274573.aspx</link><pubDate>Sat, 04 Jul 2009 11:06:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274573</guid><dc:creator>Ram Reddy Mekha</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274573.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3274573</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;quot;%20&amp;quot; will be added &lt;font size="4"&gt;every time&lt;/font&gt; in URI in the place of &lt;font size="3"&gt;Space&lt;/font&gt;( __ ) &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;cuz the URL always define with words, it wont be with space, as i saw in my life&lt;/p&gt;
&lt;p&gt;To solve this problem avoid adding spaces in URL.&lt;/p&gt;</description></item><item><title>Url escaped chars not decoded properly</title><link>http://forums.asp.net/thread/3274314.aspx</link><pubDate>Sat, 04 Jul 2009 06:13:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274314</guid><dc:creator>gavinharriss</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274314.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3274314</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have some JavaScript that generates code people can paste in to their own websites and takes various user inputs. One input is text which I escape for url usage via JavaScript.&lt;/p&gt;&lt;p&gt;For example &amp;quot;&lt;b&gt;Cortijo Marañón&lt;/b&gt;&amp;quot; becomes &amp;quot;&lt;b&gt;Cortijo%20Mara%F1%F3n&lt;/b&gt;&amp;quot;.&lt;/p&gt;&lt;p&gt;However when I access this query string server side via Request.QueryString I end up with &amp;quot;&lt;b&gt;Cortijo Mara��n&lt;/b&gt;&amp;quot;.&lt;/p&gt;&lt;p&gt;Anyone know how I can get around this issue?&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;Gavin&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>