mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
3a2aca5075
* 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
5 lines
189 B
C
5 lines
189 B
C
#include "regenc.h"
|
|
/* dummy for unsupported, statefull encoding */
|
|
#define ENC_DUMMY_UNICODE(name) ENC_REPLICATE(name, name "BE")
|
|
ENC_DUMMY_UNICODE("UTF-16");
|
|
ENC_DUMMY_UNICODE("UTF-32");
|