Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override any locale environment variable #676

Merged
merged 1 commit into from
Sep 26, 2013
Merged

Override any locale environment variable #676

merged 1 commit into from
Sep 26, 2013

Conversation

alq666
Copy link
Member

@alq666 alq666 commented Sep 19, 2013

In one case reported on IRC, having LC_CTYPE=da_DK.UTF8 caused mpstat to report "Middel" instead of "Average".

We had LANG=POSIX but that was obviously not enough. Using LC_ALL overrides all local variables and gets us the desired result.

http://pubs.opengroup.org/onlinepubs/007908799/xbd/envvar.html

In one case reported on IRC, having LC_CTYPE=da_DK.UTF8 caused mpstat to report "Middel" instead of "Average".

We had LANG=POSIX but that was obviously not enough. Using LC_ALL overrides all local variables and gets us the desired result.

http://pubs.opengroup.org/onlinepubs/007908799/xbd/envvar.html
@ghost ghost assigned remh Sep 19, 2013
remh pushed a commit that referenced this pull request Sep 26, 2013
Override any locale environment variable
@remh remh merged commit 99aacc0 into master Sep 26, 2013
@remh remh deleted the locale-ubunu branch November 11, 2013 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants