forked from I2P_Developers/i2p.i2p
one more UTF8 fix
This commit is contained in:
@@ -142,7 +142,7 @@ abstract class SAMHandler implements Runnable, Handler {
|
||||
public static boolean writeString(String str, SocketChannel out)
|
||||
{
|
||||
try {
|
||||
writeBytes(ByteBuffer.wrap(DataHelper.getASCII(str)), out);
|
||||
writeBytes(ByteBuffer.wrap(DataHelper.getUTF8(str)), out);
|
||||
} catch (IOException e) {
|
||||
//_log.debug("Caught IOException", e);
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user