raw_encoding() private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/csv.rb, line 2304
  def raw_encoding
    if @io.respond_to? :internal_encoding
      @io.internal_encoding || @io.external_encoding
    elsif @io.is_a? StringIO
      @io.string.encoding
    elsif @io.respond_to? :encoding
      @io.encoding
    else
      Encoding::ASCII_8BIT
    end
  end
Register or log in to add new notes.