On Wed, Aug 28, 2013 at 10:52 AM, Victor Efimov <perlbug-followup@perl.org>wrote: > $! returned as character string under 5.19.2+ and UTF-8 locales. But as > binary strings > under single-byte encoding locales. > > I believe this is useless and just makes it harder to decode $! value > properly. > Automatic decoding is definitely the more useful behavior. I agree inconsistency is a bad thing though. Not sure it's easy to fix though. Patches welcome. Also I am not sure if it will be possible to decode it when language with > Latin-1 -only characters is set. AFAIK that should work perfectly fine. LeonThread Previous | Thread Next