aboutsummaryrefslogtreecommitdiffstats
path: root/enc/utf_16_32.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-23 13:16:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-23 13:16:11 +0000
commit3a2aca5075ca60dc6863bc15f07bf8e716cd556c (patch)
tree02c24c1db888eb048c885a8399b40d4ceeaa1374 /enc/utf_16_32.h
parente6fe59e96e98d450c815970a3afe96278104b848 (diff)
downloadruby-3a2aca5075ca60dc6863bc15f07bf8e716cd556c.tar.gz
encdb.c, utf_16_32.h: Unicode with BOM
* enc/encdb.c, enc/utf_16_32.h (ENC_DUMMY_UNICODE): Unicode with BOM must be based on big endian variants, so that actual encodings would work. [ruby-core:57318] [Bug #8940] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/utf_16_32.h')
-rw-r--r--enc/utf_16_32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/utf_16_32.h b/enc/utf_16_32.h
index b232767ee3..da58d1b23c 100644
--- a/enc/utf_16_32.h
+++ b/enc/utf_16_32.h
@@ -1,5 +1,5 @@
#include "regenc.h"
/* dummy for unsupported, statefull encoding */
-#define ENC_DUMMY_UNICODE(name) ENC_DUMMY(name)
+#define ENC_DUMMY_UNICODE(name) ENC_REPLICATE(name, name "BE")
ENC_DUMMY_UNICODE("UTF-16");
ENC_DUMMY_UNICODE("UTF-32");