Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add one more test for passing non-Unicode strings back to Perl 6
  • Loading branch information
niner committed Oct 14, 2014
1 parent 5852ce2 commit cd96b59
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion t/py_to_p6.t
Expand Up @@ -22,7 +22,10 @@ is $py.run('
u"Püthon"
', :eval), 'Püthon';

#is $py.run('u"Püthon".encode("latin-1")').decode('latin-1'), 'Püthon';
is $py.run('
# coding=utf-8
u"Püthon".encode("latin-1")
', :eval).decode('latin-1'), 'Püthon';

done;

Expand Down

0 comments on commit cd96b59

Please sign in to comment.