mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Merge pull request #1498 from ailin-nemui/perl5380locale
Restore locale after loading Perl
(cherry picked from commit 48bc90eb17)
This commit is contained in:
parent
91593cfec3
commit
6438fcfe70
1 changed files with 7 additions and 0 deletions
|
|
@ -52,3 +52,10 @@ sub eval_file {
|
|||
die "cap_sasl has been unloaded from Irssi ".Irssi::version()." because it conflicts with the built-in SASL support. See /help network for configuring SASL or read the ChangeLog for more information.";
|
||||
}
|
||||
}
|
||||
|
||||
if ( $] >= 5.037005 && $] <= 5.038000 ) {
|
||||
# https://github.com/Perl/perl5/issues/21366
|
||||
print STDERR "\e7 \e[A Irssi: applying locale workaround for Perl 5.38.0 \e8";
|
||||
require POSIX;
|
||||
POSIX::setlocale(&POSIX::LC_ALL, "");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue