Bug 746506 - luit cp866 encoding mentioned in man but does not working
Summary: luit cp866 encoding mentioned in man but does not working
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-apps
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-16 17:24 UTC by Pavel Alexeev
Modified: 2018-04-11 08:32 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-10-17 08:00:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 41857 0 None None None Never

Description Pavel Alexeev 2011-10-16 17:24:17 UTC
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

Comment 1 Pavel Alexeev 2011-10-16 17:32:35 UTC
$ 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.

Comment 2 Pavel Alexeev 2011-10-16 18:23:21 UTC
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.

Comment 3 Matěj Cepl 2011-10-17 08:00:04 UTC
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.

Comment 4 Pavel Alexeev 2011-10-20 19:19:58 UTC
Ok, thank you, Matěj Cepl.
I'll subscribe to upstream bug shortly.

Comment 5 Pavel Alexeev 2012-10-16 08:52:28 UTC
Matěj, could you please update it in Fedora as it fixed upstream?


Note You need to log in before you can comment on or make changes to this bug.