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
usa ad075f697d merge revision(s) 57816,57817: [Backport #13292]
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.
	fix UTF-32 valid_encoding?

	* test/ruby/test_io_m17n.rb (TestIO_M17N#test_puts_widechar): do
	  not use invalid codepoint.  [ruby-core:79966] [Bug #13292]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-25 17:01:54 +00:00
..
test_big5.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_shift_jis.rb
test_utf16.rb
test_utf32.rb merge revision(s) 57816,57817: [Backport #13292] 2017-03-25 17:01:54 +00:00
test_windows_1251.rb
test_windows_1252.rb merge revision(s) 52883,52884,53046,53198: [Backport #11838] 2016-02-22 19:00:17 +00:00