public OutputStreamWriter(OutputStream out,Charset cs){
  super(out);
  if (cs == null)   throw new NullPointerException("charset");
  se=StreamEncoder.forOutputStreamWriter(out,this,cs);
}

public OutputStreamWriter ( OutputStream out , Charset cs ) { super ( out ) ; if ( cs == null ) throw new NullPointerException ( "charset" ) ; se = StreamEncoder . forOutputStreamWriter ( out , this , cs ) ; }
creates an outputstreamwriter that uses the given charset .
