in reply to Re^2: length() miscounting UTF8 characters?
in thread length() miscounting UTF8 characters?

You are almost there.
use open IO => ':utf8', ':std';

The order matters.

لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^4: length() miscounting UTF8 characters?
by AppleFritter (Vicar) on Apr 27, 2014 at 22:59 UTC
    Wonderful! That really works - hardly Perl at its dwimmiest, but I'll take what I can get. Thanks so much again!
      You first applied the settings to standard streams, then changed them. I first changed them, then applied the changed settings to the standard streams.
      لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ