P
pcouas
Hi,
I want send datas by socket, but my ASCII value upper than 128 are
truncated, do you have an idea ?
I could not use JDK 1.4 or higher, because this customer has an AIX
4.3.3 .
Thanks
Philippe
Socket socket = new Socket(server, port);
PrintWriter output = new
PrintWriter(socket.getOutputStream(),true);
temp=new String("");
temp=temp.concat(String.valueOf((char)0x200)); //Pb Here
temp=temp.concat(query); //OK
output.print(temp);
output.print((char)0x200); // Pb Here
output.flush();
I want send datas by socket, but my ASCII value upper than 128 are
truncated, do you have an idea ?
I could not use JDK 1.4 or higher, because this customer has an AIX
4.3.3 .
Thanks
Philippe
Socket socket = new Socket(server, port);
PrintWriter output = new
PrintWriter(socket.getOutputStream(),true);
temp=new String("");
temp=temp.concat(String.valueOf((char)0x200)); //Pb Here
temp=temp.concat(query); //OK
output.print(temp);
output.print((char)0x200); // Pb Here
output.flush();