#14 add CP866 and KOI8-R support