public static void write(PacketOutputStream out,String value,boolean noBackslashEscapes) throws IOException {
  byte[] bytes=value.getBytes("UTF-8");
  out.write(QUOTE);
  writeBytesEscaped(out,bytes,bytes.length,noBackslashEscapes);
  out.write(QUOTE);
}

public static void write ( PacketOutputStream out , String value , boolean noBackslashEscapes ) throws IOException { byte [ ] bytes = value . getBytes ( "UTF-8" ) ; out . write ( QUOTE ) ; writeBytesEscaped ( out , bytes , bytes . length , noBackslashEscapes ) ; out . write ( QUOTE ) ; }
write string in text format .
