ext/nokogumbo/nokogumbo.c in nokogumbo-2.0.1 vs ext/nokogumbo/nokogumbo.c in nokogumbo-2.0.2

- old
+ new

@@ -31,9 +31,10 @@ static ID internal_subset; static ID parent; /* Backwards compatibility to Ruby 2.1.0 */ #if RUBY_API_VERSION_CODE < 20200 +#define ONIG_ESCAPE_UCHAR_COLLISION 1 #include <ruby/encoding.h> static VALUE rb_utf8_str_new(const char *str, long length) { return rb_enc_str_new(str, length, rb_utf8_encoding()); }