Subject: php from pkgsrc - setlocale not working at all
To: None <netbsd-help@netbsd.org>
From: Amadeus <poff@sixbit.org>
List: netbsd-help
Date: 11/13/2003 01:51:15
Hello all,
I installed php from pkgsrc (4.3.3) and added the following modules:
gettext
iconv
So I could use setlocale. There are many locales in /usr/pkg/share/locales
but whenever I try:
<?php
setlocale(LC_ALL,"nl_NL");
echo date("D m Y");
?>
It always gives me the US format - even if I use the same names as in
usr/pkg/share (iue. there is a directory called fr, but trying fr doesnt
work).
Does anyone else have this problem, and, a solution?
Thanks in advance,
--
poff@sixbit.org
SDF Public Access UNIX System - http://sdf.lonestar.org
Please do not carbon copy replies to me