# With the legacy, nothing above 128 should be in the
# class
- if ($i >= 128) {
+ if (utf8::native_to_unicode($i) >= 128) {
$expect_success = 0;
$expect_success = ! $expect_success if $complement;
$expect_success = ! $expect_success if $complement_class;
no feature 'unicode_strings';
$prefix = "no uni8bit; Verify $string";
- if ($i >= 128) {
+ if (utf8::native_to_unicode($i) >= 128) {
$expect_success = 1;
$expect_success = ! $expect_success if $complement;
}