diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-06 10:34:10 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-06 10:34:10 +0000 |
commit | 267323cad5ca4888dae11c9e08ccef175f7d72c7 (patch) | |
tree | e6321d1681e8c5be825c5607795a357eadbbc7b1 /vm_core.h | |
parent | 7d041e87c6c5d77c8546b3a5d3878c3beb5f4a03 (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 'vm_core.h')
0 files changed, 0 insertions, 0 deletions