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

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