develooper Front page | perl.perl5.porters | Postings from August 2013

[perl #119499] $! returned with UTF-8 flag under UTF-8 locales only under 5.19.2+

Thread Previous | Thread Next
From:
Victor Efimov via RT
Date:
August 31, 2013 09:32
Subject:
[perl #119499] $! returned with UTF-8 flag under UTF-8 locales only under 5.19.2+
Message ID:
rt-3.6.HEAD-1873-1377941535-1367.119499-15-0@perl.org
On Thu Aug 29 13:05:00 2013, public@khwilliamson.com wrote:
> have all been superseded so should be rare today, but a bug report
> could
> be written on this.

Rare under linux. AFAIK FreeBSD 9 (latest stable) users still have
single-byte encoding locale by default (at least they try hard to
get UTF-8 working and it's only partly supported)
http://forums.freebsd.org/showthread.php?t=34682

There are real users with non-UTF8 locale, I saw one. We've spent
serveral hours trying to find why my perl script hangs sometimes,
and in the end found bug in perlio
https://rt.perl.org/rt3/Ticket/Display.html?id=117537 related to non-UTF

A real application which is broken by this change is 'ack' (ack 1 and
ack 2).

Russian error messages now printed with warning (under UTF-8 locale!).
French error messages now corrupted (because it's Latin-1) under UTF-8
locale too. https://github.com/petdance/ack2/issues/367



---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=119499

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About