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
naruse 800f04c6a5 * numeric.c (rb_enc_uint_char): raise RangeError when added codepoint
is invalid. [Feature #5855] [Bug #5863] [Bug #5864]

* string.c (rb_str_concat): ditto.

* string.c (rb_str_concat): set encoding as ASCII-8BIT when the string
  is US-ASCII and the argument is an integer greater than 127.

* regenc.c (onigenc_mb2_code_to_mbclen): rearrange error code.

* enc/euc_jp.c (code_to_mbclen): ditto.

* enc/shift_jis.c (code_to_mbclen): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-08 20:42:45 +00:00
..
test_big5.rb
test_cp949.rb
test_emoji.rb indented. 2010-03-12 14:08:36 +00:00
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 * numeric.c (rb_enc_uint_char): raise RangeError when added codepoint 2012-01-08 20:42:45 +00:00
test_utf16.rb
test_utf32.rb
test_windows_1251.rb