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

Unicode processing

parent ea4020e5
No related branches found
No related tags found
No related merge requests found
Pipeline #6579 passed
...@@ -2,7 +2,7 @@ image: docker:20.10.9 ...@@ -2,7 +2,7 @@ image: docker:20.10.9
variables: variables:
DOCKER_TLS_CERTDIR: "/certs" DOCKER_TLS_CERTDIR: "/certs"
IMAGE_VER: 2.5.1 IMAGE_VER: 2.5.2
services: services:
- docker:20.10.9-dind - docker:20.10.9-dind
......
...@@ -4,6 +4,7 @@ use Mojo::Base 'Mojolicious::Controller'; ...@@ -4,6 +4,7 @@ use Mojo::Base 'Mojolicious::Controller';
use Mojo::Pg::PubSub; use Mojo::Pg::PubSub;
use Digest::SHA qw(hmac_sha1_hex); use Digest::SHA qw(hmac_sha1_hex);
use POSIX qw(ceil); use POSIX qw(ceil);
use Encode qw(encode);
use feature 'signatures'; use feature 'signatures';
no warnings qw{ experimental::signatures }; no warnings qw{ experimental::signatures };
...@@ -24,7 +25,7 @@ sub main { ...@@ -24,7 +25,7 @@ sub main {
$c->redis->pubsub->listen( $c->redis->pubsub->listen(
notify => sub($pubsub, $payload) { notify => sub($pubsub, $payload) {
$c->send($payload); $c->send(encode("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