I willing to bet that the utf-ifying occurs when you print it, not when you pack it. Try assigning to a variable and then print the length.
Why print would utf-ify the output will come down to what PerlIO 'layers' (eg. :raw, :utf etc.) are used on STDOUT, which I know nothing about beyond that they exist. Take a look at perliol.
In reply to Re: Re: problems packing 8 bit data
by BrowserUk
in thread problems packing 8 bit data
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |