Hi, Wednesday, October 1, 2003, 1:25:09 AM, you wrote:
j> returns the current setting j> Thanks Tom... j> Now, if I understand this properly, j> This should return French_France... j> setlocale (LC_ALL, 'fr_FR'); j> echo setlocale (LC_ALL, ''); j> and this English_ Great Britain j> setlocale (LC_ALL, 'en_GB'); j> echo setlocale (LC_ALL, ''); j> and this German_Germany j> setlocale (LC_ALL, 'de_DE'); j> echo setlocale (LC_ALL, ''); j> and this Russian_Russia j> setlocale (LC_ALL, 'ru_RU'); j> echo setlocale (LC_ALL, ''); j> Well, all of them return the same thing for me... j> English_United States.1252 j> The 2 lines I have given in my examples are the only 2 lines in the script. j> I must be doing something wrong. j> Any ideas? j> Thanks j> Walter j> PS: And yes, I read the manual, much slower this time. Those locales actually have to be available or they will be ignored and that will depend on what type of system your running on. For example on my system (linux) I had to do localedef -ci es_ES -f ISO_8859-1:1987 es_ES and then a restart on apache to get the Spanish locale working. (Did I mention manuals :) -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php