utf8 "\x80" does not map to Unicode at Queue.pm line 835, line 1. Malformed UTF-8 character (unexpected continuation byte 0x80, with no preceding start byte) in pattern match (m//) at Queue.pm line 836, line 1. utf8 "\xD7" does not map to Unicode at Queue.pm line 835, line 1. utf8 "\xA4" does not map to Unicode at Queue.pm line 835, line 1. Malformed UTF-8 character (overflow at 0xcd0b2000, byte 0x00, after start byte 0xff) in subroutine entry at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Data/Dumper.pm line 179, line 1. Malformed UTF-8 character (overflow at 0xcd0b2000, byte 0x00, after start byte 0xff) in subroutine entry at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Data/Dumper.pm line 179, line 1. Malformed UTF-8 character (overflow at 0xcd0b2000, byte 0x00, after start byte 0xff) in subroutine entry at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Data/Dumper.pm line 179, line 1. Malformed UTF-8 character (overflow at 0xcd0b2000, byte 0x00, after start byte 0xff) in subroutine entry at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Data/Dumper.pm line 179, line 1. Malformed UTF-8 character (overflow at 0xcd0b2000, byte 0x00, after start byte 0xff) in subroutine entry at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Data/Dumper.pm line 179, line 1. Malformed UTF-8 character (overflow at 0xcd0b2000, byte 0x00, after start byte 0xff) in subroutine entry at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Data/Dumper.pm line 179, line 1. utf8 "\x80" does not map to Unicode at Queue.pm line 835, line 1. utf8 "\xE0" does not map to Unicode at Queue.pm line 835, line 1. Segmentation fault #### use strict; use warnings; my $fh; open ($fh, "<:utf8", "schema.jpg"); my $img = ''; while (<$fh>) { $img .= $_; }