code: public Writer getWriter(String encoding)
          throws IOException
      {
          if (encoding==null ||
              StringUtil.__ISO_8859_1.equalsIgnoreCase(encoding)  ||
              "ISO8859_1".equalsIgnoreCase(encoding))
              return getISO8859Writer();
  
          if ("UTF-8".equalsIgnoreCase(encoding) ||
              "UTF8".equalsIgnoreCase(encoding))
              return getUTF8Writer();
          
          if ("US-ASCII".equalsIgnoreCase(encoding))
              return getASCIIWriter();
  
          return new OutputStreamWriter(this,encoding);
      }
docs: /* ------------------------------------------------------------