aboutsummaryrefslogtreecommitdiffstats
path: root/enc/utf_16_32.h
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-23 16:42:47 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-23 16:42:47 +0000
commit78bee9c26a38343dcf6de3cbad0115ddac0756b6 (patch)
tree7fd6197f6304c147f57b8fe4bc9abb104662c9ef /enc/utf_16_32.h
parent92b190fa24e1997bb2c39e8b233375a9db69af8e (diff)
downloadruby-78bee9c26a38343dcf6de3cbad0115ddac0756b6.tar.gz
* enc/utf_16_32.h: add UTF-16 and UTF-32 as a dummy encoding.
* enc/trans/utf_16_32.trans: add a converter from UTF-16 to UTF-8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/utf_16_32.h')
-rw-r--r--enc/utf_16_32.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/enc/utf_16_32.h b/enc/utf_16_32.h
new file mode 100644
index 0000000000..b028a1a12e
--- /dev/null
+++ b/enc/utf_16_32.h
@@ -0,0 +1,4 @@
+#include "regenc.h"
+/* dummy for unsupported, statefull encoding */
+ENC_DUMMY("UTF-16");
+ENC_DUMMY("UTF-32");