Add support for NLS,including KOI8-R (Russian) (#819)