How can i make URLEncoding not encode colon?
<p>I have a JSONObject:</p>

<pre><code>{user:{"firstname":"testuser","surname":"æøå"}}
</code></pre>

<p>So i have these special characters in the object</p>

<p>I URLEncode the jsonString i have.</p>

<pre><code>urlEncodedJsonReq = URLEncoder.encode("{user:{\"firstname\":\"testuser\",\"surname\":\"æøå\"}}","UTF-8");
</code></pre>

<p>I get a response from the server: "The URI you submitted has disallowed characters.".
This is the encoded url: <code>serverurl/%7Buser%3A%7B%22firstname%22%3A%22testuser%22%2C%22surname%22%3A%22%C3%A6%C3%B8%C3%A5%22%7D%7D</code></p>

<p>But what i need it to be:</p>

<pre><code>%7Buser:%7B%22firstname%22:%22testuser%22%2C%22surname%22:%22%C3%A6%C3%B8%C3%A5%22%7D%7D
</code></pre>

<p>Is this possible in any reasonable way?</p>

<p>Thanks in advance</p>
