3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-25 20:22:37 +01:00

applets/wiktionary: fix UTF-8 issue

This commit is contained in:
Pragmatic Software 2023-03-19 14:50:52 -07:00
parent 00077e0eef
commit ca21999d5d
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ $num //= 1;
my $cache = Cache::FileCache->new({ namespace => 'wiktionary', default_expires_in => '1 week' });
my $cache_id = "$term $lang";
my $cache_id = encode('UTF-8', "$term $lang");
my $entries = $cache->get($cache_id);

View File

@ -25,7 +25,7 @@ use PBot::Imports;
# These are set by the /misc/update_version script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 4631,
BUILD_REVISION => 4632,
BUILD_DATE => "2023-03-19",
};