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);
===