Skip to content
Snippets Groups Projects
Verified Commit c8f2a42a authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Unicode processing

parent 2a7d5eab
No related branches found
No related tags found
No related merge requests found
Pipeline #6581 passed
......@@ -2,7 +2,7 @@ image: docker:20.10.9
variables:
DOCKER_TLS_CERTDIR: "/certs"
IMAGE_VER: 2.5.3
IMAGE_VER: 2.5.4
services:
- docker:20.10.9-dind
......
......@@ -4,7 +4,7 @@ use Mojo::Base 'Mojolicious::Controller';
use Mojo::Pg::PubSub;
use Digest::SHA qw(hmac_sha1_hex);
use POSIX qw(ceil);
use Encode qw(encode);
use Encode qw(encode decode);
use feature 'signatures';
no warnings qw{ experimental::signatures };
......@@ -25,7 +25,7 @@ sub main {
$c->redis->pubsub->listen(
notify => sub($pubsub, $payload) {
$c->send(encode("UTF-8", $payload));
$c->send(decode("UTF-8", $payload));
}
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment