OutputStreamWriter osw = new OutputStreamWriter(output,_encodings[i].javaName);
String javaName = _encodings[i].javaName; OutputStreamWriter osw = new OutputStreamWriter(output,javaName);
    static Writer getWriter(OutputStream output, String encoding)        throws UnsupportedEncodingException    {        for (int i = 0; i < _encodings.length; ++i)        {            if (_encodings[i].name.equalsIgnoreCase(encoding))            {                try                {                	OutputStreamWriter osw = new OutputStreamWriter(output,_encodings[i].javaName);                    return osw;                 }                catch (java.lang.IllegalArgumentException iae) // java 1.1.8                {                    // keep trying                }                catch (UnsupportedEncodingException usee)                {                    // keep trying                }            }        }        try        {            return new OutputStreamWriter(output, encoding);        }        catch (java.lang.IllegalArgumentException iae) // java 1.1.8        {            throw new UnsupportedEncodingException(encoding);        }    }