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

Error occurs when pointing to not-assigned characters in unicode with \x #1624

Closed
p6rt opened this issue Mar 24, 2010 · 5 comments
Closed

Error occurs when pointing to not-assigned characters in unicode with \x #1624

p6rt opened this issue Mar 24, 2010 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Mar 24, 2010

Migrated from rt.perl.org#73784 (status was 'rejected')

Searchable as RT73784$

@p6rt
Copy link
Author

p6rt commented Mar 24, 2010

From @ShimmerFairy

[22​:09​:43] <lue> rakudo​: say "\xFDD0"
[22​:09​:45] <p6eval> rakudo db0f85​: OUTPUT«Malformed string?current
instr.​: 'perl6;PCT;HLLCompiler;evalpmc' pc 972
(compilers/pct/src/PCT/HLLCompiler.pir​:538)?»
[22​:09​:52] <lue> rakudo​: say "\xFFFD"
[22​:09​:55] <p6eval> rakudo db0f85​: OUTPUT«??»
[22​:10​:10] <lue> apparently it doesn't support the whole of unicode...
[22​:11​:18] <lue> rakudo​: say "\xFFFE"
[22​:11​:20] <p6eval> rakudo db0f85​: OUTPUT«Malformed string?current
instr.​: 'perl6;PCT;HLLCompiler;evalpmc' pc 972
(compilers/pct/src/PCT/HLLCompiler.pir​:538)?»
[22​:11​:28] * lue submits rakudobug

@p6rt
Copy link
Author

p6rt commented Oct 11, 2011

From @coke

On Tue Mar 23 22​:21​:10 2010, lue wrote​:

[22​:09​:43] <lue> rakudo​: say "\xFDD0"
[22​:09​:45] <p6eval> rakudo db0f85​: OUTPUT�Malformed string?current
instr.​: 'perl6;PCT;HLLCompiler;evalpmc' pc 972
(compilers/pct/src/PCT/HLLCompiler.pir​:538)?�
[22​:09​:52] <lue> rakudo​: say "\xFFFD"
[22​:09​:55] <p6eval> rakudo db0f85​: OUTPUT�??�
[22​:10​:10] <lue> apparently it doesn't support the whole of unicode...
[22​:11​:18] <lue> rakudo​: say "\xFFFE"
[22​:11​:20] <p6eval> rakudo db0f85​: OUTPUT�Malformed string?current
instr.​: 'perl6;PCT;HLLCompiler;evalpmc' pc 972
(compilers/pct/src/PCT/HLLCompiler.pir​:538)?�
[22​:11​:28] * lue submits rakudobug

What is the expected output here (here's the current output)

20​:21 < [Coke]> rakudo​: say "\xFDD0"
20​:21 <+p6eval> rakudo 38907e​: OUTPUT«===SORRY!===␤Invalid character for UTF-8
  encoding␤␤»
20​:22 < [Coke]> rakudo​: say "\xFFFD"
20​:22 <+p6eval> rakudo 38907e​: OUTPUT«�␤»
20​:22 < [Coke]> rakudo​: say "\xFFFE"
20​:22 <+p6eval> rakudo 38907e​: OUTPUT«===SORRY!===␤Invalid character for UTF-8
  encoding␤␤»

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 11, 2011

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Nov 21, 2012

From @ShimmerFairy

After being pointed to this bug by [Coke], I can say I had no idea what
I was doing or what rakudo was trying to tell me :). It was right then,
and is now.

@p6rt
Copy link
Author

p6rt commented Nov 21, 2012

@ShimmerFairy - Status changed from 'open' to 'rejected'

@p6rt p6rt closed this as completed Nov 21, 2012
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

1 participant