Bug 387695

Summary: KDE strips encoding from LANG environment variable
Product: [Applications] systemsettings Reporter: David <solbeziel>
Component: kcm_languageAssignee: John Layt <jlayt>
Status: RESOLVED NOT A BUG    
Severity: minor CC: kde
Priority: NOR    
Version First Reported In: 5.8.4   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.