PHP setLocale() and localeconv()
Problem:
setlocale(LC_ALL,"en_US");
$locale_info = localeconv();
echo "Length: " . strlen($locale_info["currency_symbol"]);
ends up printing "Length: 0"
Anyone have any ideas why?
Thanks in advance,
Gabe
Gabriel Landau
Friday, July 30, 2004
Do a:
var_dump($locale_info);
and see what it says.
Almost Anonymous
Friday, July 30, 2004
Recent Topics
Fog Creek Home
|