To support an application we just installed, I've been asked to add this command to the /etc/profile
file on our Solaris 10 UNIX server:
LC_ALL=en_US.UTF-8; export LC_ALL
The effect of this changes the "locale" on the server, which is currently not defined (defaulting to "C").
My question: is there any reason I should not make this change?
As an alternative, I can imagine writing a script that exports that variable, runs the application and then "unsets" it again. I don't mind doing that but I really don't know very much about the impact of making a change like this.
I also understand that the same change can be made to the /etc/default/init
file. Would that be a better solution?