change whatsapp message encoding
This commit is contained in:
@@ -151,7 +151,7 @@ public class AppBaseController {
|
||||
DataOutputStream dout=new DataOutputStream(socket.getOutputStream());
|
||||
DataInputStream in = new DataInputStream(socket.getInputStream());
|
||||
|
||||
dout.writeUTF(data);
|
||||
dout.write(data.getBytes("UTF8"));
|
||||
|
||||
String msg=(String)in.readUTF();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user