We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
These should output the same:
> perl -MData::Dumper -MJavaScript::Duktape::XS -e'my $s = "é"; my $js = JavaScript::Duktape::XS->new(); $js->set(mystr => $s); print Dumper $js->eval(q<mystr>)' $VAR1 = "\x{e9}";
> perl -MData::Dumper -MJavaScript::Duktape::XS -e'my $s = "é"; utf8::upgrade($s); my $js = JavaScript::Duktape::XS->new(); $js->set(mystr => $s); print Dumper $js->eval(q<mystr>)' $VAR1 = "\x{c3}\x{a9}";
… but they don’t.
Something appears to be reading the raw PV rather than using SvPVbyte.
The text was updated successfully, but these errors were encountered:
Fix character-encoding oddities, add documentation.
8184023
Issue gonzus#23: This makes this module’s behaviour more uniform so callers don’t need to worry about Perl internals.
5ff23e1
Closing this issue after the merge. Thanks!
Sorry, something went wrong.
No branches or pull requests
These should output the same:
… but they don’t.
Something appears to be reading the raw PV rather than using SvPVbyte.
The text was updated successfully, but these errors were encountered: