Abstract out transcode handling.
Abstract out transcode handling.

What's going on here assumes encoded strings, and probably wants a
revisit at some point. This can be a no-op on JVM, I guess...

cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp