method

encoding_updated

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: REXML::Source
encoding_updated() private

No documentation

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

Hide source
# File lib/rexml/source.rb, line 145
    def encoding_updated
      if @encoding != 'UTF-8'
        @buffer = decode(@buffer)
        @to_utf = true
      else
        @to_utf = false
        @buffer.force_encoding ::Encoding::UTF_8
      end
    end
Register or log in to add new notes.