Bug 1046341
Summary: | xterm does not display EUCJP encoding | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Christian Horn <chorn> | ||||||
Component: | libfontenc | Assignee: | Hans de Goede <hdegoede> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 19 | CC: | btissoir, chorn, fonts-bugs, hdegoede, mlichvar, pertusus, sandmann, xgl-maint | ||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | libfontenc-1.1.2-3.fc21 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-11-03 05:23:45 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Christian Horn
2013-12-24 16:58:06 UTC
To me it looks like a problem in luit. With xorg-x11-apps-7.7-6.fc19 and in a UTF-8 terminal (I tried it with xterm and urxvt) I get: $ LC_ALL=ja_JP.eucJP luit date 2014G/ 17n 7F| 2PMKF| 12:02:33 CET $ LC_ALL=ja_JP.eucJP date | iconv -f eucjp -t utf8 2014年 1月 7日 火曜日 12:02:33 CET Hi, This works for me in Fedora when using rawhide, using gnome-terminal (I seem to be missing a font to get it to work in xterm). Can you please re-test on Fedora 20 ? Thanks, Hans The steps from #0 and #1 still fail on current Fedora20 for me. Let me setup a raw in a VM and retest.. Hm.. fails for me still on rawhide, attaching screenshot. Created attachment 918184 [details]
rawhide from 2014/07/15 screenshot
Created attachment 918190 [details]
Screenshot with proof of the pudding
Works for me, see my screenshot :)
Tested on 2 different rawhide installs.
Can you do (in a terminal): "printenv | grep LC" and paste the output here?
[root@localhost chris]# LC_ALL="ja_JP.utf8" echo 日本語 日本語 [root@localhost chris]# LC_ALL="ja_JP.utf8" date 2014年 7月 16日 水曜日 04:24:22 EDT [root@localhost chris]# LC_ALL="ja_JP.eucjp" luit [root@localhost chris]# date 2014G/ 77n 16F| ?eMKF| 04:24:27 EDT [root@localhost chris]# printenv | grep LC LC_ALL=ja_JP.eucjp [root@localhost chris]# Same for xterm, and an access via VNC vs. x-forwarded terminal (but the latter 2 variants I expected to be similiar anyway) I deployed a Fedora in this VM and then upgraded via yum to rawhide. Well, if you see the issue on RHEL7 as I do and see it fixed in rawhide, we could also just asume a mistake here on my setup and these 2 states could help you to see more on the difference between working/nonworking. Ok, I've managed to reproduce and fix this using a somewhat minimal F-20 install. To fix this do the following (both as root): yum install xorg-x11-fonts-misc ln -s ../X11/fonts /usr/share/fonts/X11 I'll add the symlink to the xorg-x11-fonts-misc package, and a requires to xorg-x11-apps for xorg-x11-fonts-misc, I plan to only do this for rawhide / F-21 though, as I do not consider this bug important enough to roll out updates for existing Fedora releases. Works, thanks! Fixed for F-21+, note I've ended up adding the symlink to xorg-x11-font-utils, as that seems to be the xorg fonts equivalent of fontpackages-filesystem. Note adding the /usr/share/fonts/X11 symlink to xorg-x11-font-util turns out to be a bad idea as that causes all the old X fonts to be part of the default font search path, which is not what we want. So instead we need to fix luit, or actually libfontenc to search for the encoding files in the proper place. I'm preparing a patch for that now. libfontenc-1.1.2-3.fc21,xorg-x11-font-utils-7.5-23.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/libfontenc-1.1.2-3.fc21,xorg-x11-font-utils-7.5-23.fc21 Package libfontenc-1.1.2-3.fc21, xorg-x11-font-utils-7.5-23.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libfontenc-1.1.2-3.fc21 xorg-x11-font-utils-7.5-23.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-14122/libfontenc-1.1.2-3.fc21,xorg-x11-font-utils-7.5-23.fc21 then log in and leave karma (feedback). libfontenc-1.1.2-3.fc21, xorg-x11-font-utils-7.5-23.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |