in reply to Re^6: Counting bytes in a Unicode document
in thread Counting bytes in a Unicode document

Yes, I don't see a lot of purpose in bytes::length. But if you do want to do that, it's better than removing the utf8 flag and calling the normal length. But I have enormous questions around what the OP is even trying to do in the first place.
--
A math joke: r = | |csc(θ)|+|sec(θ)| |-| |csc(θ)|-|sec(θ)| |
  • Comment on Re^7: Counting bytes in a Unicode document