Editing a file in CP866 encoding

Yury V. Zaytsev yury at shurup.com
Mon Jan 18 18:56:09 UTC 2010


On Mon, 2010-01-18 at 21:20 +0300, Michael Dukelsky wrote:

> I tried both, it does not matter. I also generated ru_RU.IBM866 and it
> is shown above as ru_RU.ibm866.

Then if you did it this way

localedef -c -f IBM866 -i ru_RU ru_RU.cp866

and both server and the terminal client use 

export LANG=ru_RU.cp866 

and Display Bits are set to CP866

you should be able to view the files without translation.

I don't have a suitable server / client to test it, but it should work.
 
-- 
Sincerely yours,
Yury V. Zaytsev




More information about the mc mailing list