You replied
> Both of those hacks will fail on Windows
Now you are talking about not passing a file ...???
Either bytes::length() works on Windows or it's buggy and the documentation should be fixed.
In hindsight, what you probably tried to say is that the OP had a problem with successfully reading the file on Windows.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re^9: Counting bytes in a Unicode document
by LanX
in thread Counting bytes in a Unicode document
by jwkrahn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |