ruby-changes:46840
From: duerst <ko1@a...>
Date: Mon, 29 May 2017 17:59:46 +0900 (JST)
Subject: [ruby-changes:46840] duerst:r58955 (trunk): revert r58954 temporarily
duerst 2017-05-29 17:59:41 +0900 (Mon, 29 May 2017) New Revision: 58955 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58955 Log: revert r58954 temporarily Revert change to maximum of 4 bytes for UTF-8 characters at r58954 temporarily. This failed spec at https://travis-ci.org/ruby/ruby/builds/237086017, but it is totally unclear why. Modified files: trunk/enc/utf_8.c Index: enc/utf_8.c =================================================================== --- enc/utf_8.c (revision 58954) +++ enc/utf_8.c (revision 58955) @@ -417,7 +417,7 @@ get_case_fold_codes_by_str(OnigCaseFoldT https://github.com/ruby/ruby/blob/trunk/enc/utf_8.c#L417 OnigEncodingDefine(utf_8, UTF_8) = { mbc_enc_len, "UTF-8", /* name */ - 4, /* max byte length */ + 6, /* max byte length */ 1, /* min byte length */ is_mbc_newline, mbc_to_code, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/