From 31040a307e5a662301e6c2202c63636550753a6a Mon Sep 17 00:00:00 2001 From: duerst Date: Sat, 30 Jul 2016 03:13:28 +0000 Subject: * string.c (String#downcase), NEWS: Mentioned that case mapping for all of ISO-8859-1~16 is now supported. [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ NEWS | 3 ++- string.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 40cdb0f771..b322c8cdd0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Jul 30 12:13:26 2016 Martin Duerst + + * 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 * enc/iso_8859_2.c, test/ruby/enc/test_case_comprehensive.rb: diff --git a/NEWS b/NEWS index 49c96d04c2..bd8840c280 100644 --- a/NEWS +++ b/NEWS @@ -74,7 +74,8 @@ with all sufficient information, see the ChangeLog file or Redmine * 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] diff --git a/string.c b/string.c index 26f2324b95..bc504ec3ed 100644 --- a/string.c +++ b/string.c @@ -6084,7 +6084,7 @@ rb_str_downcase_bang(int argc, VALUE *argv, VALUE str) * 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" -- cgit v1.2.3