Help for this page

Select Code to Download


  1. or download this
    use utf8 ();
    sub verify_upgraded_length {
      my($s) = @_;
    ...
      utf8::downgrade($d);  # dies if downgrade not possible
      return length($s) == length($d);
    }