diff options
Diffstat (limited to 'lib/rexml/output.rb')
-rw-r--r-- | lib/rexml/output.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/output.rb b/lib/rexml/output.rb index 752f6e1d40..50333ba177 100644 --- a/lib/rexml/output.rb +++ b/lib/rexml/output.rb @@ -10,7 +10,7 @@ module REXML @output = real_IO self.encoding = encd - @to_utf = (@encoding != ::Encoding::UTF_8) + @to_utf = encd != 'UTF-8' end def <<( content ) |