Fix Issue 8877 - std.encoding.transcode is extremely slow
Merge pull request #891 from Kozzi11/master

Fix Issue 8877 - std.encoding.transcode is extremely slow