Name : perl-Acme-FixIO
| |
Version : 0.02
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.4.1
| Date : 2023-01-27 16:41:07
|
Group : Development/Libraries/Perl
| Source RPM : perl-Acme-FixIO-0.02-lp154.4.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
Summary : Workaround for Windows chcp 65001 UTF-8 output bug
|
Description :
This is the underlying problem: The last octet is repeated when Perl outputs a UTF-8 encoded string in cmd.exe, chcp 65001
Two StackOverflow articles with basically the same problem: http://stackoverflow.com/questions/23416075 and http://stackoverflow.com/questions/25585248.
This is caused by a bug in Windows. When writing to a console set to code page 65001, WriteFile() returns the number of characters written instead of the number of bytes.
Workaround: Inject a binmode(STDOUT, \':unix:encoding(utf8):crlf\') into the perl program.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-A/15.4/noarch |