summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-06 10:34:10 +0000
committerduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-06 10:34:10 +0000
commit267323cad5ca4888dae11c9e08ccef175f7d72c7 (patch)
treee6321d1681e8c5be825c5607795a357eadbbc7b1 /time.c
parent7d041e87c6c5d77c8546b3a5d3878c3beb5f4a03 (diff)
add test_ill_formed_utf_8_replace to test recommended number of \uFFFD
Add test method test_ill_formed_utf_8_replace to test/ruby/test_transcode.rb to check for the recommended number of \uFFFD replacement characters. This is the first part, using ill-formed prefixes, with suffixes up to the length of the original UTF-8 structure (including overlongs and the full 31-bit space.) For more details, see Unicode 9.0.0, Section 3.9, Best Practices for Using U+FFFD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
0 files changed, 0 insertions, 0 deletions