I am considering to change all of my server locale to C by
"export LC_ALL=C"
Is it a common practice?
I am thinking will there be any side effect on a LAMP server, or should I just leave as using the default of "en_US.UTF-8"?
i18nlocalizationMySQLPHPUbuntu
I am considering to change all of my server locale to C by
"export LC_ALL=C"
Is it a common practice?
I am thinking will there be any side effect on a LAMP server, or should I just leave as using the default of "en_US.UTF-8"?
Best Answer
You might want to edit
/etc/default/locale
to set the locale as your export command will only affect the current environment. It will not affect already running programs.The issue you had mentioned regarding grep was fixed a few years ago already:
http://savannah.gnu.org/forum/forum.php?forum_id=6521