in reply to substr + utf

Until Perl knows that a given scalar intentionally contains utf8-encoded characters, it may not act on that assumption. See Encode and perldoc perlunicode.

--
[ e d @ h a l l e y . c c ]