in reply to Re^2: utf8 char or binary string detectionin thread utf8 char or binary string detection
replacing that encoding line is simple, see utf8 and open
use utf8; use open qw/ :std :encoding(utf8) /; [download]