Doesn't set up the locale properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kubuntu-settings (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
In /etc/default/locale I have this line
LANG="en_US.UTF-8"
In ~/.bashrc I have this line:
export LC_COLLATE="C"
In the System Settings-
Country: Italy
Languages: American English, Italian (in this order)
Numbers: "." for thousands and "," for decimals
Money: EURO
Calendar: Gregorian
Date and Time: HH:MM:SS
Other: Page size: A4; Measurement system: metric; Byte size: IEC units.
In a console (no X and thus no KDE) I have these variables set:
LANG='en_US.UTF-8'
LC_COLLATE='C'
all other locale related variables are unset. This is the expected behavior.
In Konsole (KDE) I have these variables:
LANG='en_IT.UTF-8'
LANGUAGE='en:it:en'
LC_NUMERIC=
LC_COLLATE='C'
LC_TIME=
LC_MONETARY=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
which clearly show an improperly set up locale.
For example within Konsole terminal I cannot input accented vowels from the Italian keyboard.
While I can do it from the non-KDE console.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: kubuntu-
Uname: Linux 3.19.0-
ApportVersion: 2.14.1-0ubuntu3.7
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Feb 18 15:17:04 2015
InstallationDate: Installed on 2015-01-12 (37 days ago)
InstallationMedia: Kubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitec
SourcePackage: kubuntu-settings
UpgradeStatus: No upgrade log present (probably fresh install)
For example, when I start the PostgreSQL client I get this:
[enzo@Feynman ~] psql tmp1
LC_TELEPHONE = "en_IT.UTF-8",
LC_IDENTIFICAT ION = "en_IT.UTF-8",
LC_MEASUREMENT = "en_IT.UTF-8",
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en:it:en",
LC_ALL = (unset),
LC_PAPER = "en_IT.UTF-8",
LC_ADDRESS = "en_IT.UTF-8",
LC_MONETARY = "en_IT.UTF-8",
LC_NUMERIC = "en_IT.UTF-8",
LC_COLLATE = "C",
LC_TIME = "en_IT.UTF-8",
LC_NAME = "en_IT.UTF-8",
LANG = "en_IT.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").