repo.or.cz
/
rbx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Change soft-fail to use the config, rather than env
[rbx.git]
/
lib
/
rexml
/
encodings
/
UTF-8.rb
blob
bb08f44100a17da3e5d170ecfa40f4c217d24d6e
1
module REXML
2
module Encoding
3
def encode_utf8 content
4
content
5
end
6
7
def decode_utf8(str)
8
str
9
end
10
11
register(UTF_8) do |obj|
12
class << obj
13
alias decode decode_utf8
14
alias encode encode_utf8
15
end
16
end
17
end
18
end