Hi,
I get errors during test the application in morbo:
Malformed UTF-8 character (unexpected end of string) in substitution (s///)
at /usr/lib64/perl5/vendor_perl/Data/Dumper.pm line 720.
Mojo::Reactor::Poll: I/O watcher failed: Malformed UTF-8 character (fatal)
at /usr/lib64/perl5/vendor_perl/Data/Dumper.pm line 720.
715: );
716:
717: # put a string value in double quotes
718: sub qquote {
719: local($_) = shift;
720: s/([\\\"\@\$])/\\$1/g;
721: my $bytes; { use bytes; $bytes = length }
722: s/([^\x00-\x7f])/'\x{'.sprintf("%x",ord($1)).'}'/ge if $bytes >
length;
723: return qq("$_") unless
724: /[^ !"\#\$%&'()*+,\-.\/0-9:;<=>?\@A-Z[\\\]^_`a-z{|}~]/; # fast
exit
725:
The line that causes the error:
$self->flash(f_error_msg => 'Błąd');
Mojolicious v. 7.24.
Cheers,
Pawel
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.