You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the code, seems it's a naive kludge for the unimplemented nqp::readcharsfh op. As a result, .readchars on JVM reads incorrect number
of chars, at times producing wrong data altogether:
<ZoffixW> j: "/tmp/Foo.pm6".IO.spurt: "I♥u so very much"; "/tmp/Foo.pm6".IO.open.readchars(3).say
<camelia> rakudo-jvm fb4f16: OUTPUT: «I♥u »
<ZoffixW> j: "/tmp/Foo.pm6".IO.spurt: "I love you so very much"; "/tmp/Foo.pm6".IO.open.readchars(3).say
<camelia> rakudo-jvm fb4f16: OUTPUT: «I love»
<ZoffixW> j: "/tmp/Foo.pm6".IO.spurt: "♥"; "/tmp/Foo.pm6".IO.open.readchars(1).say
<camelia> rakudo-jvm fb4f16: OUTPUT: «�»
Migrated from rt.perl.org#130840 (status was 'new')
Searchable as RT130840$
The text was updated successfully, but these errors were encountered: