4
0
mirror of https://github.com/cwinfo/envayasms.git synced 2025-07-13 01:36:27 +00:00

fix encoding problem for post requests, make test a separate action

This commit is contained in:
Jesse Young
2011-09-27 11:20:10 -07:00
parent 986b50f0a8
commit bf14f23fe5
6 changed files with 12 additions and 4 deletions

View File

@ -125,7 +125,7 @@ public class HttpTask extends AsyncTask<String, Void, HttpResponse> {
}
else
{
post.setEntity(new UrlEncodedFormEntity(params));
post.setEntity(new UrlEncodedFormEntity(params, "UTF-8"));
}
HttpClient client = app.getHttpClient();