Thu Aug 16 07:48:58 2018: Request 126280 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR-Packer
     Subject: 90-rt122949.t fails when "Use Unicode UTF-8 for worldwide 
language support" is enabled
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: x...@cpan.org
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=126280 >


On 2018-08-16 06:22:19, m...@xenu.pl wrote:

> Of course U+0085 exists, but it's irrelevant because in this case
> we're
> talking about raw bytes. 

You're right, I once again got fooled by the idiotic Unicode handling in Perl.
Can you add

use Encode qw( encode );

near the top of 90-rt122949.t and replace the "...\x{85}..." test case with

  [ encode("UTF-8", qq[qq[a\x{85}b]) ],
  [ encode("UTF-8", qq[qq[smiley \x{263A}]) ],  
  [ encode("UTF-8", qq[german umlaute \x{E4}\x{F6}\x{FC}]) ],
  [ encode("UTF-8", qq[chinese zhongwen \x{4E2D}\x{6587}]) ],

and rerun the failing test both with and without "Use Unicode..."?

Cheers, Roderich

Reply via email to