Description of problem: Luit mention cp866 in supported encodings: $ luit -list | grep 866 CP 866 But in fact i does not working: # localedef -i ru_RU -f IBM866 ru_RU.cp866 $ LANG=ru_RU.cp866 luit -encoding 'CP 866' -v ./cp866.app Warning: couldn't find charset data for locale CP 866; using ISO 8859-1. G0 is ASCII, G1 is Unknown (94), G2 is ISO 8859-1, G3 is Unknown (94). GL is G0, GR is G2. Test. cp866.app consist from single line: echo "Test. Русский текст для теста" | iconv -f utf-8 -t CP866 Version-Release number of selected component (if applicable): $ rpm -q xorg-x11-apps xorg-x11-apps-7.6-2.fc15.x86_64 How reproducible: Always
$ luit -encoding 'CP 866' -v ./cp866.app Warning: couldn't find charset data for locale CP 866; using ISO 8859-1. G0 is ASCII, G1 is Unknown (94), G2 is ISO 8859-1, G3 is Unknown (94). GL is G0, GR is G2. Test.
And I have not found official bugtracker for luit. So, found there patch http://gentoo.ru/node/9440 (page on Russian) may help. I have test it, but until cant't fix issue. So, may be for others it do more.
We filed this bug in the upstream database (https://bugs.freedesktop.org/show_bug.cgi?id=41857) and believe that it is more appropriate to let it be resolved upstream. We will continue to track the issue in the centralized upstream bug tracker, and will review any bug fixes that become available for consideration in future updates. However, I would also note the headline of the list where CP 866 is mentioned: "Known charsets (not all may be available):" We would strongly encourage you to subscribe to the upstream bug as well (by logging in and adding yourself to the Cc list), so that you can provide whatever information required for the successful resolving of this issue. Thank you for helping to make free software better.
Ok, thank you, Matěj Cepl. I'll subscribe to upstream bug shortly.
Matěj, could you please update it in Fedora as it fixed upstream?