Bug#959474: Issues with Chinese language (all variants) when building some pages in buster
Boyuan Yang <[email protected]>
| Newsgroups | gmane.linux.debian.devel.www |
|---|---|
| Organization | Debian Project |
| Message-ID | <bbcb41026803b52d1345614037371d7d4ca8f8b2.camel__33017.6763514586$1588645466$gmane$org@debian.org> |
Hi, 在 2020-05-05星期二的 03:34 +0200,Axel Beckert写道: > → echo 包 | perl -pe 's|\s+\n|\n|sg;' > 包 > → echo 包 | perl -M"feature unicode_strings" -pe 's|\s+\n|\n|sg;' > � > > Which kinda sounds like a Perl bug. Cc'ing the maintainers of Debian's > perl package (not the whole Debian Perl Team), maybe they have some > insight what actually goes wrong here and if that's indeed a Perl bug. I guess it is a Perl bug. I am listing more Chinese characters other than "包" here that can trigger the problem: % echo 包 | perl -M"feature unicode_strings" -pe 's|\s+\n|\n|sg;' � % echo 赠 | perl -M"feature unicode_strings" -pe 's|\s+\n|\n|sg;' � % echo 传 | perl -M"feature unicode_strings" -pe 's|\s+\n|\n|sg;' � % echo 阅 | perl -M"feature unicode_strings" -pe 's|\s+\n|\n|sg;' � % echo 加 | perl -M"feature unicode_strings" -pe 's|\s+\n|\n|sg;' � % echo 者 | perl -M"feature unicode_strings" -pe 's|\s+\n|\n|sg;' � % echo -n 赠 | hexdump -C 00000000 e8 b5 a0 % echo -n 传 | hexdump -C 00000000 e4 bc a0 % echo -n 包 | hexdump -C 00000000 e5 8c 85 % echo -n 阅 | hexdump -C 00000000 e9 98 85 % echo -n 加 | hexdump -C 00000000 e5 8a a0 % echo -n 者 | hexdump -C 00000000 e8 80 85 (Note that 0xA0 and 0x85 at the end.) Mwei (https://nm.debian.org/person/mwei/) just talked to me saying that it could be a bug with isSPACE_L1 macro in perl's pp.c. He will be replying the email soon. -- Thanks, Boyuan Yang
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAl6wzRYACgkQwpPntGGC Ws40AQ/+IlHl+7AiHE6dEOSf6BiHNfRzMEV8dJTAYAQGFVpswmHStf0Nv4Rc+VDI L2X/KE5KzVS90CN53rGtIG6BE+19bwKoEEWFwzghQlS+EdwwMtyuc/tMn3RlOPma B6J/C0XCqLCqUZ/yeM/lCBd4b0LX3Rrd69XJRBtXHUfr7/fy5KW0a6jxh+8olgUQ y+V4/3ujBmJHfyL6d/1oUz+UpGdDrIC/qQ+ycP+UAtguoNtt6K+hQUZ0T5O4ISUW a6UMi8kjQSzaKXBSVrEGEV38ZJ+W57k5zYc2ACoZO8nOpLUFSadBsnfe/vtsquRt wAoDHGRnZHfStw1Ctu2Aq0snYAScke/OtgrCM/mmrO53bJgSAaQMi6BgARk64bul DVrFUK0jWrpx3IZWqsQXGf2mqbaaGm8rI+oVIqPK8Jcr75YtNx08/Y1zDR4nvsrl UDRvvB8+a9oz/lpUurULUC72M/6f2ixb66BWDOE3vBHdunNYU2//8bKFuQ0tD63S YRh8ygxHSVeOlREBdPcL2wxiYZH7hC5DASfdVn/w/QmmI+07QULJzaQFCzGC/zLO ImYqd+Q18H5TXpaH7EelbQsXKgojlztNGPoRD27nQ8y6LBMdCfevLMy+YO5pFbNd we90arZOrIGePnsLzRE8xZFYcxO57e+gKvwo2OTdYdDUTh+o//E= =ET88 -----END PGP SIGNATURE-----