Skip to content
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

encoding problem - Invalid character in ASCII string #55

Closed
diakopter opened this issue Sep 19, 2012 · 3 comments
Closed

encoding problem - Invalid character in ASCII string #55

diakopter opened this issue Sep 19, 2012 · 3 comments

Comments

@diakopter
Copy link
Contributor

"breaks" means outputs: "Invalid character in ASCII string"

13:41 < diakopter> say('¢'"\n"); # breaks
13:41 < diakopter> say('¢'); # works
13:42 < diakopter> say("\n"); # works
13:42 < diakopter> say("¢\n"); # works
13:46 < diakopter> say("¢"
"\n"); # breaks
13:47 < diakopter> say("¢"'a'); # breaks
13:50 < diakopter> say('a'
"¢"); # breaks
13:51 < diakopter> I have parrot nqp
13:51 < diakopter> nqp's parrot
13:52 < diakopter> 'a'~"¢" # breaks

@pmichaud
Copy link
Contributor

The source of the problem seems to be parrot: parrot/parrot#837 .

@leto
Copy link
Contributor

leto commented Sep 21, 2012

parrot/parrot#837 has been fixed in a branch and merged. Please let us know if this fixes the problem for y'all

@FROGGS
Copy link
Contributor

FROGGS commented Jan 18, 2013

Looks good in 2013.01:

say('¢'~"\n"); # breaks
say('¢'); # works
say("\n"); # works
say("¢\n"); # works
say("¢"~"\n"); # breaks
say("¢"~'a'); # breaks
say('a'~"¢"); # breaks
'a'~"¢" # breaks

OUTPUT:

¢

¢


¢

¢

¢a
a¢

@FROGGS FROGGS closed this as completed Jan 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants