1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
duerst 2016-07-30 03:13:28 +00:00
parent 80715186b7
commit 31040a307e
3 changed files with 8 additions and 2 deletions

View file

@ -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:

3
NEWS
View file

@ -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]

View file

@ -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"