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
8-bit cleanliness #4327
Comments
From zefram@fysh.orgI remember when Unix programs used to be 8-bit clean. $ env - ACME=$'L\xe9on' ./perl6-m -e 'say "hi"' OK, interpreting arguments as UTF-8 is a convenience for some things, but Not sure which of Rakudo, NQP, and MoarVM to blame for the failures. -zefram |
From @jnthnOn Tue Jun 16 03:35:58 2015, zefram@fysh.org wrote:
Works now, with tests in S32-str/utf8-c8.t. In summary: things coming from/going to the OS are now encoded/decoded using UTF-8 C-8, which uses synthetic codepoints (same mechanism as used in NFG) to store the original octets. All things coming from the OS are decoded this way, and encoding the resulting Str back to utf8-c8 will therefore result in the same octet stream. The encoding is made available at the Perl 6 level, just like any other, so original octets can always be retrieved. /jnthn |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#125420 (status was 'resolved')
Searchable as RT125420$
The text was updated successfully, but these errors were encountered: