how to send utf-8 encoded strings with volley post request android
<p>I am using volley library for sending network requests in my android app. 
I am sending StringRequest using POST method and sending post parameters using </p>

<blockquote>
  <p>getParams() method.</p>
</blockquote>

<p>Now I want to send some of the strings in these post parameters with UTF-8 encoding. I have tried adding the below for this. </p>

<pre><code>@Override
public String getBodyContentType() {
   return "application/x-www-form-urlencoded; charset=UTF-8";
}
</code></pre>

<p>But it is not working fine. 
I have tried adding headers using getHeaders function also but it is also not working.</p>

<pre><code>@Override
public Map&lt;String, String&gt; getHeaders() throws AuthFailureError {
    Map&lt;String, String&gt; header = new HashMap&lt;String, String&gt;();
    header.put("Content-Type", "application/json; charset=utf-8");
    return header;
}
</code></pre>

<p>How can I do this, please help me if anyone have any idea about it.</p>