public void print(Object s) throws IOException {
  out.write(Convert.escapeUnicode(s.toString()));
}

public void print ( Object s ) throws IOException { out . write ( Convert . escapeUnicode ( s . toString ( ) ) ) ; }
print string , replacing all non - ascii character with unicode escapes .
