diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-01 11:58:47 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-01 11:58:47 +0000 |
commit | c827d982eeb10322b916b54ee8f5be4fa510a525 (patch) | |
tree | cb2527135ad331227ce938f1f37eac8473f0916a /benchmark/gc/gcbench.rb | |
parent | 1d74a161eb7aa593a71d9cfb51247da125048cb3 (diff) | |
download | ruby-c827d982eeb10322b916b54ee8f5be4fa510a525.tar.gz |
* enc/unicode/case-folding.rb, casefold.h: Data generation to implement
swapcase functionality for titlecase characters. Swapcase isn't defined
by Unicode, because the purpose/usage of swapcase is unclear anyway.
The implementation follows a proposal from Nobu, swaping the case of
each component of a titlecase character individually.
This means that the titlecase characters have to be decomposed.
* enc/unicode.c: Code using the above data.
* test/ruby/enc/test_case_mapping.rb: Tests for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/gc/gcbench.rb')
0 files changed, 0 insertions, 0 deletions