method
need_source_encoding_update?
v2_2_9 -
Show latest stable
- Class:
REXML::Parsers::BaseParser
need_source_encoding_update?(xml_declaration_encoding)private
No documentation available.
# File lib/rexml/parsers/baseparser.rb, line 505
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