method
need_source_encoding_update?
ruby latest stable - Class:
REXML::Parsers::BaseParser
need_source_encoding_update?(xml_declaration_encoding)private
No documentation available.
# File lib/rexml/parsers/baseparser.rb, line 506
def need_source_encoding_update?(xml_declaration_encoding)
return false if xml_declaration_encoding.nil?
return false if /\AUTF-16\z/ =~ xml_declaration_encoding
true
end