in reply to Re^2: Another use bytes and length issue
in thread Another use bytes and length issue

well, duh.
use bytes; my $s = "\x{100}"; print length $s; { no bytes; print length $s; } print length $s; 2 1 2