Bug 292143 - kdesrc-build sets the "C" locale incorrectly
Summary: kdesrc-build sets the "C" locale incorrectly
Status: RESOLVED FIXED
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (show other bugs)
Version: Git
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-21 22:57 UTC by Michael Pyne
Modified: 2012-03-30 02:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Pyne 2012-01-21 22:57:01 UTC
According to Oswald Buddenhagen the proper way to ensure that a program is run with untranslated output while still passing in filenames properly is to use LANG=C and then set LC_CTYPE to en_US.UTF-8 (so file names are read properly).

Other LC_* variables should be unset or set to C.

See: http://lists.kde.org/?l=kde-commits&m=132705138805806&w=2
and also the locale(7) manpage.
Comment 1 Michael Pyne 2012-03-30 02:17:50 UTC
Git commit e67735091933090b76755bb98a36638826cfd633 by Michael Pyne.
Committed on 30/03/2012 at 02:21.
Pushed by mpyne into branch 'master'.

Port LC_ALL users to problem-specific functions.

This should hopefully fully fix bug 292143 (or at least, if it's still buggy,
it will be possible to fix in just one or two spots).

M  +20   -29   kdesrc-build

http://commits.kde.org/kdesrc-build/e67735091933090b76755bb98a36638826cfd633