I have a string that includes a character string ="\u2663\"
among others.
I send the string over a socket using the printwriter and read with buffered reader:
PrintWriter out = new PrintWriter(c.clientSocket.getOutputStream(),true);
out.println(string)
BufferedReader in = new BufferedReader(new InputStreamReader(mainSocket.getInputStream()));
in.readLine()
When the code is run in eclipse, it renders properly but when testing it via executable jar, the unicode character above shows a "?".
I feel like this is an encoding issue but can't seem to get it to work.