Alexandr Tkach
Alexandr Tkach
Please re-open this issue, it is still actual. No, setting binmode to utf8 `binmode(STDOUT, ":utf8");` does not help. But removing the `use locale` line from T::F code does help. >Since...
> @evengar2008 can you confirm that this is fixing your issue > > ```diff > diff --git a/lib/Template/Filters.pm b/lib/Template/Filters.pm > index fdd82b85..a0d1de86 100644 > --- a/lib/Template/Filters.pm > +++ b/lib/Template/Filters.pm >...
@atoomic here's the PoC `test.pl` ```perl use POSIX qw( setlocale LC_ALL ); use warnings; use strict; use utf8; setlocale( LC_ALL, 'POSIX' ); use Template::Filters; use Template; my $tt = Template->new({...
The issue is that if we set somewhere else locale to POSIX, then in T::F all string operations with unicode will be affected because of the `use locale` pragma enabled...
I can confirm this issue on Ubuntu 18.04 in docker Here's some extra debug info with `$ENV{NARDEBUG} = 1` ``` $VAR1 = { 'declared_exchanges' => [], 'unique' => 'linux-v5.26.1-618-764014026-t_025_declare_exchange_with_ae.t', 'ssl_init'...
This was not resolved on 2.40010 ``` cat /root/.cpanm/work/1655028702.96/build.log cpanm (App::cpanminus) 1.7043 on perl 5.026001 built for x86_64-linux-gnu-thread-multi Work directory is /root/.cpanm/work/1655028702.96 You have make /usr/bin/make You have LWP 6.49...