From 90135445c8833ff11a31bf37fa09a0b265904b55 Mon Sep 17 00:00:00 2001 From: Carsten Weisse Date: Sun, 18 Dec 2005 22:10:13 +0000 Subject: byte[] <--> String with latin 1 alias ISO-8859-1 --- src/jake2/server/SV_MAIN.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jake2/server/SV_MAIN.java') diff --git a/src/jake2/server/SV_MAIN.java b/src/jake2/server/SV_MAIN.java index bf12986..e9b876e 100644 --- a/src/jake2/server/SV_MAIN.java +++ b/src/jake2/server/SV_MAIN.java @@ -19,7 +19,7 @@ */ // Created on 13.01.2004 by RST. -// $Id: SV_MAIN.java,v 1.13 2005-12-18 17:25:09 cawe Exp $ +// $Id: SV_MAIN.java,v 1.14 2005-12-18 22:10:13 cawe Exp $ package jake2.server; import jake2.Defines; @@ -458,7 +458,7 @@ public class SV_MAIN { Com.BeginRedirect(Defines.RD_PACKET, SV_SEND.sv_outputbuf, Defines.SV_OUTPUTBUF_LENGTH, new Com.RD_Flusher() { public void rd_flush(int target, StringBuffer buffer) { - SV_SEND.SV_FlushRedirect(target, buffer.toString().getBytes()); + SV_SEND.SV_FlushRedirect(target, Lib.stringToBytes(buffer.toString())); } }); -- cgit v1.2.3