This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Perl_utf8_distance can be implemented as a call to Perl_utf8_length.