More efficient UTF-8 -> KOI8-R conversion