public void send(I_OutMessage message){

        if (message instanceof PMOut || message instanceof ArenaPMOut) {
            try {
                if (message instanceof PMOut) {
//                    conn.send(message.send().getBytes(JKaiUI.getChatManager().getSelectedEncoding(((PMOut) message).getUser().decode())));
                    conn.send(StringByteConverter.StringtoByteforPM(message.send(), ((PMOut) message).getUser().decode()));
                }
                if (message instanceof ArenaPMOut) {
//                    conn.send(message.send().getBytes(JKaiUI.getChatManager().getSelectedEncoding(((ArenaPMOut) message).getUser().decode())));
                    conn.send(StringByteConverter.StringtoByteforPM(message.send(), ((ArenaPMOut) message).getUser().decode()));
                }
            } catch (Exception e) {
                System.out.println("manager send:" + e);
            }
        } else {
            conn.send(StringByteConverter.StringtoByte(message.send()));
        }
        JKaiUI.getLogFileManager().println("All", "Send; " + message.send());
    }