If you are on a Windows system, the byte count discrepancy might be because Perl represents line breaks internally as line feed characters.
That was it. I just count the line breaks on windows and added it to the overall count and it works.
Thanks.
In reply to Re^3: Perl UTF-8 serving HTML5
by $h4X4_|=73}{
in thread Perl UTF-8 serving HTML5
by $h4X4_|=73}{
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |