# New Ticket Created by  Yuriy Ershov 
# Please include the string:  [perl #90512]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=90512 >


Hi!

I have just downloaded Rakudo (trunk version, git clone) and have
unicode spectest failed.

Details:

$ uname -mprv
10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011;
root:xnu-1504.9.37~1/RELEASE_I386 i386 i386
$ ./perl6 --version

This is Rakudo Perl 6, version 2011.04-26-g678ad30 built on parrot
3.3.0 RELEASE_3_3_0-199-g3b374ae

$ perl Configure.pl --gen-parrot
.........................
auto::icu -           Is ICU installed....................................yes.
.........................
$ gmake && gmake test && gmake spectest
......................... all test are passed except ...
t/spec/S19-command-line/dash-e.t ...............................
Failed 2/3 subtests
.........................
$ make t/spec/S19-command-line/dash-e.t
t/spec/S19-command-line/dash-e.t ..
1..3
ok 1 - -e print $something works
not ok 2 - -e print $something works with non-ASCII string literals
#      got out: "ȧ"
# expected out: "ȧ"
not ok 3 - -e works with non-ASCII program texts
#      got status: 1
#      got out: ""
# expected out: "23"
#      got err: "===SORRY!===\nConfused at line 1, near \"print <1 2\"\n"
# expected err: ""
# Looks like you failed 2 tests of 3
Failed 2/3 subtests

Test Summary Report
-------------------
t/spec/S19-command-line/dash-e.t (Wstat: 0 Tests: 3 Failed: 2)
  Failed tests:  2-3
Files=1, Tests=3,  6 wallclock secs ( 0.02 usr  0.00 sys +  4.81 cusr
0.65 csys =  5.48 CPU)
Result: FAIL


Ok, the minimal example that does not work is:

$ ./perl6 -e 'print "ȧ\n"'
ȧ
$ ./perl6 -e 'print "фыв\n"'
фыв


At the same time, perl5 works well:

Yuriy-Ershovs-MacBook-Air:rakudo ershov$ perl -e 'print "фыв\n"'
фыв
Yuriy-Ershovs-MacBook-Air:rakudo ershov$ perl -e 'print "ȧ\n"'
ȧ


The environment is good:
$ export
.........
declare -x LANG="en_US.UTF-8"
.........

Reply via email to