Ticket #1285: diff.patch
| File diff.patch, 642 bytes (added by tome, 22 months ago) |
|---|
-
lib/Padre/MimeTypes.pm
799 799 # of bits and Padre/Perl simply has the wrong point of view (UTF-8), 800 800 # so we drop these warnings: 801 801 local $SIG{__WARN__} = sub { 802 # Die if we throw a bad codepoint - this is a binary file. 803 die if ($_[0] =~ /Code point .* is not Unicode/); 802 804 print STDERR $_[0] . ' while looking for mime type of $filename' 803 805 unless $_[0] =~ /Malformed UTF\-8 char/; 804 806 };
