summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--NEWS3
-rw-r--r--string.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 40cdb0f7715..b322c8cdd07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Jul 30 12:13:26 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
+
+ * 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@it.aoyama.ac.jp>
* enc/iso_8859_2.c, test/ruby/enc/test_case_comprehensive.rb:
diff --git a/NEWS b/NEWS
index 49c96d04c29..bd8840c2808 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 26f2324b95a..bc504ec3edb 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"