in reply to locale problems with cgi and apache
When and where do you set these variables? I assume they must be set before locale loads. If you're not setting them in the server's parent process or in httpd.conf before running your program, you might try:
BEGIN { $ENV{LANG} = 'de_DE@euro'; $ENV{LC_CTYPE} = 'de_DE@euro'; $ENV{LC_COLLATE} = 'POSIX'; } use locale;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: locale problems with cgi and apache
by orrence (Initiate) on Nov 06, 2003 at 10:12 UTC |