Skip Menu |

This queue is for tickets about the Time-Piece CPAN distribution.

Report information
The Basics
Id: 97539
Status: new
Priority: 0/
Queue: Time-Piece

People
Owner: Nobody in particular
Requestors: victor [...] vsespb.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.27
Fixed in: (no value)



Subject: strftime corrupts unicode data in return value (drops UTF-8 flag)
=== $ perl poc.pl 1.23 SV = PV(0xd90da0) at 0xdb2128 REFCNT = 1 FLAGS = (PADMY,POK,pPOK) PV = 0xe4b250 "\321\204 Sun, 27 Jul 2014"\0 CUR = 19 LEN = 24 $ cat poc.pl use strict; use warnings; use Time::Piece; use Devel::Peek; print Time::Piece->VERSION, "\n"; my $t=localtime(); my $res = $t->strftime( "\x{444} %a, %d %b %Y" ); Dump($res); ===