summaryrefslogtreecommitdiff
path: root/lib/rexml/encodings/UTF-8.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/encodings/UTF-8.rb')
-rw-r--r--lib/rexml/encodings/UTF-8.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/rexml/encodings/UTF-8.rb b/lib/rexml/encodings/UTF-8.rb
new file mode 100644
index 0000000000..96fee4c4c0
--- /dev/null
+++ b/lib/rexml/encodings/UTF-8.rb
@@ -0,0 +1,11 @@
+module REXML
+ module Encoding
+ def encode content
+ content
+ end
+
+ def decode(str)
+ str
+ end
+ end
+end