summaryrefslogtreecommitdiff
path: root/lib/rexml/encodings/UTF-16_decl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/encodings/UTF-16_decl.rb')
-rw-r--r--lib/rexml/encodings/UTF-16_decl.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/rexml/encodings/UTF-16_decl.rb b/lib/rexml/encodings/UTF-16_decl.rb
new file mode 100644
index 0000000000..f405a9f259
--- /dev/null
+++ b/lib/rexml/encodings/UTF-16_decl.rb
@@ -0,0 +1,6 @@
+module REXML
+ module Encoding
+ UTF_16 = 'UTF-16'
+ claim( UTF_16, /^\376\377/ )
+ end
+end