http://www.perlmonks.org?node_id=216512


in reply to Problems with packing upper ASCII - differences across perl versions

Hi,
it seems to work for me under perl 5.6 if I add
use utf8;
to the code. Try
perldoc utf8

MP

  • Comment on Re: Problems with packing upper ASCII - differences across perl versions
  • Download Code

Replies are listed 'Best First'.
Re: Re: Problems with packing upper ASCII - differences across perl versions
by JayBonci (Curate) on Nov 29, 2002 at 12:47 UTC
    Doesn't work for me.
    Malformed UTF-8 character (unexpected non-continuation byte 0xf7 after + start byte 0xf6) at ./pack.pl line 6. Malformed UTF-8 character (1 byte, need 4) at ./pack.pl line 6. Unrecognized character \xB7 at ./pack.pl line 6.
    According for the perl5.6.1 pack perldoc page it explicitly says it shouldn't matter. This is stock debian 5.6.1 perl.

        --jb