diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rexml/encodings/US-ASCII.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/encodings/US-ASCII.rb b/lib/rexml/encodings/US-ASCII.rb index 32ddfbc909..3b76080399 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) - str.unpack('C*').pack('U*') +b str.unpack('C*').pack('U*') end EOL end |