# File rexml/source.rb, line 40 def encoding=(enc) super eval "\t\t\t\talias :encode :to_\#{encoding.tr('-', '_').downcase}\n\t\t\t\talias :decode :from_\#{encoding.tr('-', '_').downcase}\n" @line_break = encode( '>' ) if enc != UTF_8 @buffer = decode(@buffer) @to_utf = true else @to_utf = false end end