locale for cgi in apache
am 18.01.2010 17:02:39 von kaustubh.deo--000e0cd32e2e8be0de047d727b29
Content-Type: text/plain; charset=ISO-8859-1
Hello,
How does a CGIs pick up the locale when invoked from apache?
I have a few CGIs written in C and installed in apache server. When these
CGIs are invoked the default locale is always "C". I check it using
setlocale(LC_ALL, NULL).
Now even if I change the system locale to say German, restart the apache
server, the CGI still has lcoale as "C".
Can you please let me know how do I make the CGI pick up german locale in
this case??
Thanks in advance,
Kaustubh
--000e0cd32e2e8be0de047d727b29
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hello,
=A0
How does a CGIs pick up the locale when invoked from apache?
I have a few CGIs written in C and installed in apache server. When th=
ese CGIs are invoked the default locale is always "C". I check it=
using setlocale(LC_ALL, NULL).
ese CGIs are invoked the default locale is always "C". I check it=
using setlocale(LC_ALL, NULL).
Now even if I change the system locale to say German, restart the apac=
he server, the CGI still has lcoale=A0as "C".
he server, the CGI still has lcoale=A0as "C".
=A0
Can you please let me know how do I make the CGI pick up german locale=
in this case??
in this case??
=A0
Thanks in advance,
Kaustubh
--000e0cd32e2e8be0de047d727b29--