Commit dc9a9ce8 authored by captainwong's avatar captainwong

fix 2

parent 93e0cfef
...@@ -28,8 +28,8 @@ public class SimpleServer { ...@@ -28,8 +28,8 @@ public class SimpleServer {
if(32 <= c && c <= 127){ if(32 <= c && c <= 127){
s += (char)c; s += (char)c;
}else{ }else{
s += "\\x" + HEX_STRING.charAt(b[i] >>> 4); s += "\\x" + HEX_STRING.charAt(c >>> 4);
s += HEX_STRING.charAt(b[i] & 0x0F); s += HEX_STRING.charAt(c & 0x0F);
} }
} }
return s; return s;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment