Bug 450690
| Summary: | console in F9 is not unicode complaint when locale set to UTF-8 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Pribyl <covex> | ||||||
| Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 9 | CC: | alsadi, rvokal | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2008-10-14 00:56:00 UTC | Type: | --- | ||||||
| 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
Adam Pribyl
2008-06-10 13:40:31 UTC
Can you attach your /etc/sysconfig/i18n? I can't reproduce this in testing here. Created attachment 308985 [details]
console with unicode text in f9
I can reporduce this with en_US.UTF-8 and cs_CZ.UTF-8. Behaviour is the same
for both when I try to display text with UTF-8 chars - in this case those are
czech accented letters. See attached screenshot with steps 2,3,4.
Please note, that this is only correctly displayed in step 3. (Mostly correct - I do not understand why those accented letters are brigher...) Interesting thing is that starting unicode_start changes already displayed text, while issuing unicode_stop does not - step 4. Just to make sure, cestina.txt is actually in UTF-8? (Not to ask the obvious...) I've been testing with /usr/share/doc/pango-*/HELLO.txt. With your PNG... is this with baremetal or with virtualization of some sort? Created attachment 309052 [details]
utf8 test sentece
Yes it is UTF-8 (attached now) - this is czech test sentece containing most of
the accented letters.
The PNG is from virualized HW (VirtualBox) but my real console gives the same
output. I used it only to capture screenshot. I can make pictures with digital
camera too. I tried also the pango HELLO file now and the result is pretty
similar. Just the czech string for Hello is not very good to demostrate this
problem because it has only one "special" character. When cating the HELLO.txt
e.g. arabic is not correctly displayed. After starting unicode_start the text
is corrected.
I noticed also now, that when I switch from console to Xorg and back to
console, then the text is not displayed correctly anymore. I have to
unicode_start again..
In F8 there is in /etc/profile.d/lang.sh this code:
if [ -n "$LANG" ]; then
case $LANG in
*.utf8*|*.UTF-8*)
if [ "$TERM" = "linux" ]; then
if [ "$consoletype" = "vt" ]; then
if [ -x /bin/unicode_start ] && /sbin/consoletype fg ; then
for langfile in /etc/sysconfig/i18n $HOME/.i18n ; do
[ -f $langfile ] && . $langfile
done
/bin/unicode_start $SYSFONT $SYSFONTACM
fi
that handles the unicode_start execution. This is not present if F9. How should
this be done in F9? Is it really not needed?
I confirm this bug in F9 *** This bug has been marked as a duplicate of bug 458362 *** |