On Wed Aug 28 23:40:08 2013, sprout wrote: > > So now, $! may or may not be encoded, and you have to way of telling > reliably without doing the same environment checks that perl itself did > internally before deciding to decode $! itself. > Small corrections: a) Actually there is a way: check is_utf8($!) flag (which is not good because is_utf8 marked as danger, and it's documented you cant distinct characters from bytes with this flag) b) Current fix does not do environment checks, it just tries to do UTF-8 validity check http://perl5.git.perl.org/perl.git/commitdiff/1500bd919ffeae0f3252f8d1bb28b03b043d328e --- via perlbug: queue: perl5 status: open https://rt.perl.org:443/rt3/Ticket/Display.html?id=119499Thread Previous | Thread Next