mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-28 23:09:39 +01:00
applets/wiktionary: fix UTF-8 issue
This commit is contained in:
parent
00077e0eef
commit
ca21999d5d
2
applets/wiktionary.pl
vendored
2
applets/wiktionary.pl
vendored
@ -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);
|
||||
|
||||
|
@ -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",
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user