mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
928d1a5261
* enc/encdb.c, enc/utf_16_32.h (ENC_DUMMY_UNICODE): endian-less wide UTF encodings are dummy but Unicode. * encoding.c (rb_encdb_set_unicode): set Unicode flag. * template/encdb.h.tmpl: allow ENC_DUMMY variants. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
5 lines
174 B
C
5 lines
174 B
C
#include "regenc.h"
|
|
/* dummy for unsupported, statefull encoding */
|
|
#define ENC_DUMMY_UNICODE(name) ENC_DUMMY(name)
|
|
ENC_DUMMY_UNICODE("UTF-16");
|
|
ENC_DUMMY_UNICODE("UTF-32");
|