unicode-programming/count-bytes/perl5.md at master · patch/unicode-programming

Skip to content

Navigation Menu

Sign in

Appearance settings

Latest commit

File metadata and controls

8 lines (6 loc) · 184 Bytes

Count encoded bytes in Perl 5

The core length function returns the number of bytes when called on a byte string instead of a character string.