while( <$fh>) { my $payload = decode('Latin-1', $_); };