summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-30 03:13:28 +0000
committerduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-30 03:13:28 +0000
commit31040a307e5a662301e6c2202c63636550753a6a (patch)
treeb947bc16b490f419abe7a24d0e5736f48f8275f8
parent80715186b79953dc1304ad9be37b663fbd8d8726 (diff)
downloadruby-31040a307e5a662301e6c2202c63636550753a6a.tar.gz
* 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
-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 40cdb0f771..b322c8cdd0 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 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"