one more UTF8 fix

This commit is contained in:
zzz
2015-11-28 22:51:00 +00:00
parent 68b4ad2238
commit 1db7613519

View File

@@ -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;