in reply to Re: problems packing 8 bit data
in thread problems packing 8 bit data
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: problems packing 8 bit data
by Anonymous Monk on Aug 15, 2003 at 19:54 UTC | |
by Thelonius (Priest) on Aug 15, 2003 at 19:58 UTC | |
by BrowserUk (Patriarch) on Aug 15, 2003 at 20:07 UTC |