* several backports from 1.9

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2004-02-06 09:28:03 +00:00
parent e8253cceca
commit 70bf6c6754
5 changed files with 15 additions and 6 deletions

View file

@ -1,6 +1,6 @@
module REXML
module Encoding
@@__REXML_encoding_methods =<<-EOL
@@__REXML_encoding_methods =<<-'EOL'
# Convert from UTF-8
def encode content
array_utf8 = content.unpack('U*')