On Sat, Mar 8, 2014 at 2:27 PM, Allasso Travesser <allassopraise@xxxxxxxxx> wrote: > > On Mar 8, 2014, at 10:15 AM, Eric Covener <covener@xxxxxxxxx> wrote: > >> On Sat, Mar 8, 2014 at 12:07 PM, Allasso Travesser >> <allassopraise@xxxxxxxxx> wrote: >>> But it doesn't matter which user, if run from command line, behavior is one way, (correct way), if run from http request, behavior is incorrect. >> >> Compare environment variables between the two environments? > > Yes, that is the problem, I can fix it by putting export LANG="en_US.UTF-8"; before I run apertium each time, but I am trying to find a more permanent solution. I have been trying different methods of setting the variable in www-data's profile, but haven't been successful. > A simple SetEnv in httpd.conf should work, and not pollute the servers environment until the CGI is launched (it's not a "real" environment variable until then) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx