<?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>GetQueryString Archives : Binary Bits</title>
	<atom:link href="https://blog.binarybits.net/tag/getquerystring/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.binarybits.net/tag/getquerystring/</link>
	<description>Bits &#38; Pieces - A blog by Kannan Balasubramanian</description>
	<lastBuildDate>Wed, 17 May 2017 07:54:51 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Decoding Query String with Unicode Characters</title>
		<link>https://blog.binarybits.net/decoding-query-string-with-unicode-characters/</link>
					<comments>https://blog.binarybits.net/decoding-query-string-with-unicode-characters/#respond</comments>
		
		<dc:creator><![CDATA[Kannan]]></dc:creator>
		<pubDate>Fri, 31 Jul 2015 09:35:42 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[GetQueryString]]></category>
		<category><![CDATA[Query]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[Unicode]]></category>
		<category><![CDATA[UrlDecode]]></category>
		<guid isPermaLink="false">https://blog.binarybits.net/?p=719</guid>

					<description><![CDATA[<p>Recently I came across an issue where the query string had unicode characters and ASP.NET&#8217;s &#8220;HttpUtility.UrlDecode&#8221; was not properly converting the characters. After searching few minutes came across the following solution posted by cjsharp1 at Stackoverflow. private string GetQueryStringValueFromRawUrl(string queryStringKey) { var currentUri = new Uri(HttpContext.Current.Request.Url.Scheme + "://" + HttpContext.Current.Request.Url.Authority + HttpContext.Current.Request.RawUrl); var queryStringCollection = [&#8230;]</p>
<p>The post <a href="https://blog.binarybits.net/decoding-query-string-with-unicode-characters/">Decoding Query String with Unicode Characters</a> appeared first on <a href="https://blog.binarybits.net">Binary Bits</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Recently I came across an issue where the query string had unicode characters and ASP.NET&#8217;s &#8220;HttpUtility.UrlDecode&#8221; was not properly converting the characters. After searching few minutes came across the following solution posted by <a href="http://stackoverflow.com/users/616814/cjsharp1" target="_blank">cjsharp1</a> at <a href="http://stackoverflow.com/questions/14636073/problems-with-utf-8-character-encoding-from-url-query-string-value-in-internet-e" target="_blank">Stackoverflow</a>.</p>
<pre class="lang:c# decode:true " title="Get Query String Value From Raw Url">private string GetQueryStringValueFromRawUrl(string queryStringKey)
{
    var currentUri = new Uri(HttpContext.Current.Request.Url.Scheme + "://" + 
        HttpContext.Current.Request.Url.Authority + 
        HttpContext.Current.Request.RawUrl);
    var queryStringCollection = HttpUtility.ParseQueryString((currentUri).Query);
    return queryStringCollection.Get(queryStringKey);
}</pre>
<p>The post <a href="https://blog.binarybits.net/decoding-query-string-with-unicode-characters/">Decoding Query String with Unicode Characters</a> appeared first on <a href="https://blog.binarybits.net">Binary Bits</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.binarybits.net/decoding-query-string-with-unicode-characters/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: blog.binarybits.net @ 2026-04-23 06:41:18 by W3 Total Cache
-->