Red Hat Bugzilla – Bug 487133
setsysfont does not respect LC_CTYPE
Last modified: 2018-04-11 06:37:15 EDT
Created attachment 333046 [details]
Description of problem:
my /etc/sysconfig/i18n sets LC_CTYPE, but not LANG
then the console is not switched to Unicode mode.
The problem is that /sbin/setsysfont script does not check LC_CTYPE.
Proposed patch attached.
There is nothing to triage here.
Switching to ASSIGNED so that developers have responsibility to do whatever they want to do with it.
You have CTYPE (for the charset) and LANG different? Why not just set the charset as part of the LANG?
(In reply to comment #2)
> You have CTYPE (for the charset) and LANG different? Why not just set the
> charset as part of the LANG?
Well, because I do want to set LC_CTYPE, but not the other LC_* variables.
I need LC_NUMERIC=POSIX, so that no thousands delimiters is used, I need LC_MESSAGES=POSIX, so that I get the error messages intranslated, etc.
Indeed, of all the LC_*, I want to set LC_CTYPE only.
All these LC_* are independent, LANG is a default for unset ones, and LC_ALL, if set overrides all of them.
When you think about it, the console font should indeen depend on the LC_CTYPE ("Character cassification") than on LANG ("The default value for internationalization variables that are unset or null").
Also cherry-picked to the F10-branch.
initscripts-8.86.1-1 has been submitted as an update for Fedora 10.
initscripts-8.86.2-1 has been submitted as an update for Fedora 10.
initscripts-8.86.3-1 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.