def encoding=( value )
    if value.nil?
      @encoding = nil
    else
      @encoding = Object.const_defined?(:Encoding) ? Encoding.find(value.to_s) : nil
    end
  end
def encoding=( value )
    if value.nil?
      @encoding = nil
    else
      @encoding = Object.const_defined?(:Encoding) ? Encoding.find(value.to_s) : nil
    end
  end
Set the appender encoding to the given value. The value can either be an
 Encoding instance or a String or Symbol referring to a valid encoding.

 This method only applies to Ruby 1.9 or later. The encoding will always be
 nil for older Rubies.

 value - The encoding as a String, Symbol, or Encoding instance.

 Raises ArgumentError if the value is not a valid encoding.