Update HttpHelper.java

This commit is contained in:
seven332 committed 2015-01-28 14:28:50 +08:00
1 parent a6f278c3ca
commit 7cb04f39b3
1 file changed
+1 -1
@@ -394,7 +394,7 @@ public class HttpHelper {
DataOutputStream out = new DataOutputStream(conn.getOutputStream());
String body = mJo.toString();
Log.d(TAG, "Post json: " + body);
out.writeBytes(body);
out.write(body.getBytes("utf-8"));
out.flush();
out.close();
}