ruby-changes:43704
From: duerst <ko1@a...>
Date: Sat, 30 Jul 2016 12:13:34 +0900 (JST)
Subject: [ruby-changes:43704] duerst:r55777 (trunk): * string.c (String#downcase), NEWS: Mentioned that case mapping for all
duerst 2016-07-30 12:13:28 +0900 (Sat, 30 Jul 2016) New Revision: 55777 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55777 Log: * string.c (String#downcase), NEWS: Mentioned that case mapping for all of ISO-8859-1~16 is now supported. [ci skip] Modified files: trunk/ChangeLog trunk/NEWS trunk/string.c Index: NEWS =================================================================== --- NEWS (revision 55776) +++ NEWS (revision 55777) @@ -74,7 +74,8 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L74 * String#upcase, String#downcase, String#capitalize, String#swapcase and their bang variants work for all of Unicode, and are no longer limited - to ASCII. Variations are available with options. See the documentation + to ASCII. Supported encodings are UTF-8, UTF-16BE/LE, UTF-32BE/LE, and + ISO-8859-1~16. Variations are available with options. See the documentation of String#downcase for details. [Feature #10085] * String.new(capacity: size) [Feature #12024] Index: string.c =================================================================== --- string.c (revision 55776) +++ string.c (revision 55777) @@ -6084,7 +6084,7 @@ rb_str_downcase_bang(int argc, VALUE *ar https://github.com/ruby/ruby/blob/trunk/string.c#L6084 * by case mapping operations. * * Non-ASCII case mapping/folding is currently supported for UTF-8, - * UTF-16BE/LE, UTF-32BE/LE, and ISO-8859-1 Strings/Symbols. + * UTF-16BE/LE, UTF-32BE/LE, and ISO-8859-1~16 Strings/Symbols. * This support will be extended to other encodings. * * "hEllO".downcase #=> "hello" Index: ChangeLog =================================================================== --- ChangeLog (revision 55776) +++ ChangeLog (revision 55777) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Jul 30 12:13:26 2016 Martin Duerst <duerst@i...> + + * string.c (String#downcase), NEWS: Mentioned that case mapping for all + of ISO-8859-1~16 is now supported. [ci skip] + Sat Jul 30 12:00:01 2016 Martin Duerst <duerst@i...> * enc/iso_8859_2.c, test/ruby/enc/test_case_comprehensive.rb: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/