Closed mauke closed 1 year ago
Since it's actually using STDOUT
or STDERR
in the hood, contrary to the docs, this is the expected outcome. I'll update the docs to note this potential double-encoding issue.
Thanks for the bug report! The docs have been fixed in v2.71.
https://metacpan.org/release/DROLSKY/Log-Dispatch-2.70/view/lib/Log/Dispatch/Screen.pm says:
Thus, if some other part of my code (or another module) already sets
binmode $handle, ":encoding(UTF-8)"
, this should be a harmless no-op. But:Actual output:
Expected output: