<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - strange behaviour of Descriptor - Comments</title>
 <link>http://www.newlc.com/en/forum/strange-behaviour-descriptor</link>
 <description>Comments for &quot;strange behaviour of Descriptor&quot;</description>
 <language>en</language>
<item>
 <title>Re: strange behaviour of Descriptor</title>
 <link>http://www.newlc.com/en/forum/strange-behaviour-descriptor#comment-41435</link>
 <description>&lt;p&gt;Thanks a lot Sir &lt;br /&gt;
It is really helpful&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Thu, 13 Sep 2007 09:40:18 +0200</pubDate>
 <dc:creator>sulabh120881</dc:creator>
 <guid isPermaLink="false">comment 41435 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: strange behaviour of Descriptor</title>
 <link>http://www.newlc.com/en/forum/strange-behaviour-descriptor#comment-41423</link>
 <description>&lt;p&gt;You mentioned that you work with Java Servlets.&lt;/p&gt;

&lt;p&gt;Well, this tutorial here that a quick Google search turned up mentions that % problem and says that the servlet methods all handle this automatically:&lt;br /&gt;
&lt;a href=&quot;http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/&quot; class=&quot;bb-url&quot;&gt;http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So I wonder where you run into problems?&lt;/p&gt;</description>
 <pubDate>Wed, 12 Sep 2007 17:47:55 +0200</pubDate>
 <dc:creator>rbrunner</dc:creator>
 <guid isPermaLink="false">comment 41423 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: strange behaviour of Descriptor</title>
 <link>http://www.newlc.com/en/forum/strange-behaviour-descriptor#comment-41419</link>
 <description>&lt;p&gt;Thanks to all of you &lt;/p&gt;

&lt;p&gt;I can&#039;t leave such character, Please tell me how can i decode this string on server side &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;</description>
 <pubDate>Wed, 12 Sep 2007 15:12:24 +0200</pubDate>
 <dc:creator>sulabh120881</dc:creator>
 <guid isPermaLink="false">comment 41419 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: strange behaviour of Descriptor</title>
 <link>http://www.newlc.com/en/forum/strange-behaviour-descriptor#comment-41415</link>
 <description>&lt;p&gt;You probably can&#039;t prevent this from happening, as it is indeed a requirement of the relevant Internet standards that special characters like # are encoded as %23.&lt;/p&gt;

&lt;p&gt;I think you have 2 choices: Prevent this from happening by simply not using such characters for the strings that you send (difficult, maybe impossible), or decode the strings on the server side (probably trivial, maybe done with just one method call).&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Wed, 12 Sep 2007 13:48:15 +0200</pubDate>
 <dc:creator>rbrunner</dc:creator>
 <guid isPermaLink="false">comment 41415 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: strange behaviour of Descriptor</title>
 <link>http://www.newlc.com/en/forum/strange-behaviour-descriptor#comment-41410</link>
 <description>&lt;p&gt;why this only tanslate the special character any method to prevent this from encoding&lt;/p&gt;

&lt;p&gt;thanks &lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Wed, 12 Sep 2007 13:09:18 +0200</pubDate>
 <dc:creator>sulabh120881</dc:creator>
 <guid isPermaLink="false">comment 41410 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: strange behaviour of Descriptor</title>
 <link>http://www.newlc.com/en/forum/strange-behaviour-descriptor#comment-41395</link>
 <description>&lt;p&gt;I don&#039;t think there is anything really &quot;wrong&quot; with it.&lt;/p&gt;

&lt;p&gt;Part of the HTTP standard or URL standard or whatever (I&#039;m no web guy) says you translate &quot;special&quot;  characters to that %-form.&lt;/p&gt;

&lt;p&gt;Your servlet should be able to handle it and translate it back.&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Wed, 12 Sep 2007 09:31:42 +0200</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 41395 at http://www.newlc.com</guid>
</item>
<item>
 <title>strange behaviour of Descriptor</title>
 <link>http://www.newlc.com/en/forum/strange-behaviour-descriptor</link>
 <description>&lt;p&gt;Hi to all,&lt;/p&gt;

&lt;p&gt;I am trying to send a string value from my application to java servlet using HTTP api&lt;br /&gt;
like &lt;br /&gt;
//eg &quot;sulabh#04&quot;&lt;br /&gt;
TBuf&lt;40 &gt; iName;&lt;br /&gt;
iName.Append(username);&lt;br /&gt;
iName.Append(_L(&quot;#&quot;));&lt;br /&gt;
iName.Append(password);&lt;br /&gt;
iFormEncoder-&gt;AddFieldL(KPostParamName, iName);&lt;/p&gt;

&lt;p&gt;but when i recieve this on servlet side it becomes &quot;sulabh%2304&quot;&lt;br /&gt;
I am not getting what is the reason behind this.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/forum/strange-behaviour-descriptor&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/forum/strange-behaviour-descriptor#comments</comments>
 <category domain="http://www.newlc.com/en/forums/symbian-c">Symbian C++</category>
 <pubDate>Wed, 12 Sep 2007 09:18:24 +0200</pubDate>
 <dc:creator>sulabh120881</dc:creator>
 <guid isPermaLink="false">18941 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
