1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby/enc
nobu 4171ed6c21 fix UTF-32 valid_encoding?
* enc/utf_32be.c (utf32be_mbc_enc_len): check arguments precisely.
  [ruby-core:79966] [Bug #13292]

* enc/utf_32le.c (utf32le_mbc_enc_len): ditto.

* regenc.h (UNICODE_VALID_CODEPOINT_P): predicate for valid
  Unicode codepoints.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-09 02:04:10 +00:00
..
test_big5.rb
test_case_comprehensive.rb change test class name because it is not only about folding 2016-12-03 05:09:09 +00:00
test_case_mapping.rb add tests againts regressions for upcoming codepoint reordering in unfolding table 2016-12-03 07:18:41 +00:00
test_case_options.rb
test_cp949.rb
test_emoji.rb
test_euc_jp.rb
test_euc_kr.rb
test_euc_tw.rb
test_gb18030.rb
test_gbk.rb
test_iso_8859.rb
test_koi8.rb
test_regex_casefold.rb
test_shift_jis.rb
test_utf16.rb test_utf16.rb: refine valid_encoding tests 2017-03-09 01:55:43 +00:00
test_utf32.rb fix UTF-32 valid_encoding? 2017-03-09 02:04:10 +00:00
test_windows_1251.rb
test_windows_1252.rb