public OutputStreamWriter(OutputStream out,String charsetName) throws UnsupportedEncodingException {
  super(out);
  if (charsetName == null)   throw new NullPointerException("charsetName");
  se=StreamEncoder.forOutputStreamWriter(out,this,charsetName);
}

public OutputStreamWriter ( OutputStream out , String charsetName ) throws UnsupportedEncodingException { super ( out ) ; if ( charsetName == null ) throw new NullPointerException ( "charsetName" ) ; se = StreamEncoder . forOutputStreamWriter ( out , this , charsetName ) ; }
creates an outputstreamwriter that uses the named charset .
