Bug 387695 - KDE strips encoding from LANG environment variable
Summary: KDE strips encoding from LANG environment variable
Status: RESOLVED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_language (show other bugs)
Version: 5.8.4
Platform: Debian stable Linux
: NOR minor
Target Milestone: ---
Assignee: John Layt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-08 01:38 UTC by David
Modified: 2018-02-20 23:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2017-12-08 01:38:46 UTC
KDE5 has been mangling my LANG environment variable by stripping the encoding.

Details:
 - System default locale is eo.UTF-8
 - Environment setting works as expected when logging in outside of X (ex: on virtual terminal or SSH).
 - Environment setting works as expected when using another window or session manager (ex: OpenBox).
 - When in KDE5, LANG=eo

Expected behaviour:
 - LANG is not modified by KDE

This bug has been set to "minor" severity because it only shows up when applications make incorrect assumptions about the encoding when it is not specified. (I am looking at you, Emacs!)
Comment 1 David Edmundson 2018-02-20 23:20:58 UTC
 - LANG is not modified by KDE

It's the job of a desktop environment to make apps work the way you've set it in our settings. It will follow what you set in the language KCM.

If you have a specific bug with what it's setting, please reopen with that.