I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 1db76135 authored by zzz's avatar zzz
Browse files

one more UTF8 fix

parent 68b4ad22
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ abstract class SAMHandler implements Runnable, Handler { ...@@ -142,7 +142,7 @@ abstract class SAMHandler implements Runnable, Handler {
public static boolean writeString(String str, SocketChannel out) public static boolean writeString(String str, SocketChannel out)
{ {
try { try {
writeBytes(ByteBuffer.wrap(DataHelper.getASCII(str)), out); writeBytes(ByteBuffer.wrap(DataHelper.getUTF8(str)), out);
} catch (IOException e) { } catch (IOException e) {
//_log.debug("Caught IOException", e); //_log.debug("Caught IOException", e);
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment