Encode module for Perl 6