Fix bug in .encoding switching.
Fix bug in .encoding switching.

salortiz/rakudo,nbrown/rakudo,usev6/rakudo,salortiz/rakudo,sjn/rakudo,Gnouc/rakudo,nbrown/rakudo,rakudo/rakudo,lucasbuchala/rakudo,softmoth/rakudo,Gnouc/rakudo,softmoth/rakudo,softmoth/rakudo,Gnouc/rakudo,rakudo/rakudo,sjn/rakudo,raydiak/rakudo,raydiak/rakudo,sjn/rakudo,tony-o/rakudo,tbrowder/rakudo,awwaiid/rakudo,rakudo/rakudo,labster/rakudo,MasterDuke17/rakudo,jonathanstowe/rakudo,tbrowder/rakudo,labster/rakudo,labster/rakudo,labster/rakudo,usev6/rakudo,tony-o/rakudo,salortiz/rakudo,lucasbuchala/rakudo,rakudo/rakudo,awwaiid/rakudo,tony-o/rakudo,tony-o/rakudo,Gnouc/rakudo,jonathanstowe/rakudo,softmoth/rakudo,lucasbuchala/rakudo,lucasbuchala/rakudo,raydiak/rakudo,rakudo/rakudo,tony-o/rakudo,MasterDuke17/rakudo,nbrown/rakudo,awwaiid/rakudo,sjn/rakudo,usev6/rakudo,nbrown/rakudo,tbrowder/rakudo,salortiz/rakudo,tbrowder/rakudo,softmoth/rakudo,usev6/rakudo,jonathanstowe/rakudo,lucasbuchala/rakudo,jonathanstowe/rakudo,tony-o/rakudo,MasterDuke17/rakudo,rakudo/rakudo,salortiz/rakudo,sjn/rakudo,MasterDuke17/rakudo,nbrown/rakudo,awwaiid/rakudo,jonathanstowe/rakudo,labster/rakudo,MasterDuke17/rakudo,nbrown/rakudo,salortiz/rakudo,Gnouc/rakudo,Gnouc/rakudo,raydiak/rakudo,usev6/rakudo,tbrowder/rakudo,labster/rakudo,awwaiid/rakudo,tbrowder/rakudo,MasterDuke17/rakudo