This can be shortened tobinmode(FILE) if 1; # reset to raw binmode(FILE, ':encoding(UTF-8)') if 1; # add our new encoding
binmode(FILE, ':raw:encoding(UTF-8)') if 1;
In reply to Re^2: using binmode() to override default encoding specified in "use open"
by choroba
in thread using binmode() to override default encoding specified in "use open"
by raygun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |