diff --git a/lib/rexml/encodings/US-ASCII.rb b/lib/rexml/encodings/US-ASCII.rb index 3b76080399..32ddfbc909 100644 --- a/lib/rexml/encodings/US-ASCII.rb +++ b/lib/rexml/encodings/US-ASCII.rb @@ -18,7 +18,7 @@ module REXML # Convert to UTF-8 def decode(str) -b str.unpack('C*').pack('U*') + str.unpack('C*').pack('U*') end EOL end