diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-23 10:02:17 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-23 10:02:17 +0000 |
commit | dbc5af97c766e667aa6aaa918cae1278afde69a7 (patch) | |
tree | d76b9a7dfda8bc4fe6579c52676b509813fbe21a /lib/rexml/encodings | |
parent | d5ae9837ffe13841f26c073914d61f9abb279272 (diff) | |
download | ruby-dbc5af97c766e667aa6aaa918cae1278afde69a7.tar.gz |
* pack.c (pack_pack): remove unnecessary negative value check.
[ruby-dev:22329]
* io.c (rb_io_ungetc): need fflush before ungetc if write buffer
is filled. [ruby-dev:22330]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/encodings')
-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 |