Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Java BufferedReader returning weird characters
- clientoutput.write("Please enter your username: ".getBytes("UTF-8"));
- clientoutput.flush();
- String username = clientinput.readLine();
- out("Client " + clientip + " logged in as " + username);
- String askforpass = "Please enter the password for " + username + ": ";
- clientoutput.write(askforpass.getBytes());
- clientoutput.flush();
- String password = clientinput.readLine();
- out(password);
- Client connected with the IP /127.0.0.1
- Client /127.0.0.1 logged in as ÿûÿû ÿûÿû'ÿýÿûÿýdcole ÿþÿþ ÿþÿþ'ÿütest
Add Comment
Please, Sign In to add comment