New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid operation on binary string #6
Comments
|
I am not quite sure why the results of a .get() call, which is later .split, is being considered a "binary string". This certainly was not happening in previous versions of Rakudo. |
|
Parrot had some major socket changes Indeed binary string is returned, for example sending euro sign over sockets: my $listener = IO::Socket::INET.new( localhost => "", localport => 8080, :listen );
while my $connection = $listener.accept( ) {
$connection.send( "\x[20ac]\r\n" );
$connection.close( );
}2012.11 works fine 2012.12 breaks I've already reported it in RT https://rt.perl.org/rt3//Ticket/Display.html?id=116302 So far the only workaround is to explicitly convert it into utf string: |
|
fixed in rakudo/rakudo@0b5899a |
I was writing blogpost about RPC communication in Perl6 and I've noticed that on latest Rakudo Star 2012.12 HTTP::Easy breaks with following error:
To reproduce one can run
librarian.pland thenclient.plfrom article link above.It was working fine with 2012.11 release. I'm not sure if broken IO::Socket.read(?) method is related to this issue.
The text was updated successfully, but these errors were encountered: