Bug 106844 - Session doesn't restore encoding
Summary: Session doesn't restore encoding
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-05 15:56 UTC by Łukasz Lis
Modified: 2005-06-05 21:41 UTC (History)
0 users

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 Łukasz Lis 2005-06-05 15:56:10 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Gentoo Packages
Compiler:          GCC 3.3.5 
OS:                Linux

Konsole sets it's encoding appropriately when run with enviroment variables LC_ALL and LANG set to values  other than the system default. These settings aren't restored properly after signing out and back in.

What I did:
1. Wrote a simple shell script:
--
#!/bin/sh
LC_ALL=pl_PL.ISO-8859-2 LANG=$LC_ALL /usr/kde/3.4/bin/konsole
--
2. Ran it through a shortcut
3. Logged out
4. Logged in
Comment 1 Kurt Hindenburg 2005-06-05 21:41:35 UTC
There's no way Konsole can do that.  You are setting the encoding by env variables.  Try using the Settings->Encoding menu instead.