http://www.perlmonks.org?node_id=1052357


in reply to Re: Using pragma utf8::all in processing non-utf data.
in thread Using pragma utf8::all in processing non-utf data.

Just unfataling or disabling the warning makes no sense. The :encoding(UTF-8) IO layer will still be active and the readline function will produce garbage input.