change whatsapp message encoding

This commit is contained in:
2023-01-03 08:29:10 +01:00
parent f218fdf7c8
commit 34aaf6a329

View File

@@ -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();