I’m new to Perl.
I was getting errors in my print statement: “Wide character in print”
And adding this line of code made it work
#binmode(STDOUT, ":utf8");
I read the doc, simply put, binmode encodes characters in a manner that the platform can understand.
Without it, the platform may be expecting the characters to mean something else because it is using a different encoding.
Or is my understanding of binmode off ?
Is there a way with perl to find out what encoding the platform is using ?
can help. Doesn’t work on all systems, though.