On Tue, Feb 21, 2012 at 12:58 AM, Tom Christiansen <tchrist@perl.com> wrote: > Why does it take a new layer? Why not just make the things > that get fatalized by > > use warnings FATAL => "utf8"; > > fatal without saying that? I'm not entirely sure what gets fixed by that and what doesn't, it isn't documented at all. Looking at the source makes me feel it's a hack IMO, and I strongly suspect it is not quite a complete fix: there are just too many places that would need to get fixed. I believe the utf8 layer would be the right place to do it because that's the only place that almost all Input passes through. Fixing it there fixes it almost everywhere (except sysread I suppose, but that can be fixed too). LeonThread Previous | Thread Next