2022-1-26 6:04 Felipe Gasper <felipe@felipegasper.com> wrote: > PART 1: > > ----- > > perl -e'print "\x{100}"' > Wide character in print at -e line 1. > Ä > ----- > > ^^ Would it benefit if that warning instead were something like: > > ----- > Wide character in print (you forgot to encode) at -e line 1. > ----- > > The status quo merely describes the problem; Iâd like to add a bit that > points to the fix. > > -------------------------------------------- > > PART 2: > > While Iâm raising the issue, what would it take for Perl-issued warnings > (and exceptions?) writ-large to include some sort of searchable, indexed > lookup code, something like: > > ----- > W.18: Wide character in print (you forgot to encode) at -e line 1. > ----- > > Then users could search on that code in Perlâs documentation, maybe like: > > ----- > perldoc W.18 > ----- > > Thoughts? > > -FG > I think this is a good idea because users don't know the meaning of "Wide Character" .Thread Previous | Thread Next