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

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