Hi, I have the following code:

final HttpClient httpclient = new DefaultHttpClient();
final HttpPost httpPost = new HttpPost("http://www.admetesoft.com/test.php");

ArrayList<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>();
nameValuePairs.add(new BasicNameValuePair("id",simiosi));
nameValuePairs.add(new BasicNameValuePair("test","λολ"));

httpPost.setEntity(new UrlEncodedFormEntity(nameValuePairs));



The problem is that althouth latin characters display in my sql database, greek characters does not display correct. I try different collations in my database but the problem still exist. How can I set the encoding of the characters in HttpClient;