|
Posted by Alvaro G. Vicario on 12/17/27 11:56
*** Peter Münster escribió/wrote (Fri, 25 Aug 2006 10:04:32 +0200):
> But it does not seem to work, the output of the following script is
> string(10) "fr_FR.utf8" Array ( [0] => hello [1] => conomie [2] => bla )
Where's the output for var_dump(setlocale(LC_ALL, 'fr_FR.utf8'))? Locales
are system dependent and I'd bet it's printing FALSE in order to say
fr_FR.utf8 is not available.
> var_dump(setlocale(LC_ALL, 'fr_FR.utf8'));
> print_r(str_word_count('hello économie bla, 1));
> echo '</body></html>';
--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
Navigation:
[Reply to this message]
|