Hi list,

I have a few locales installed on my system:

locale -a
C
POSIX
dutch
nl_BE
nl_BE.iso88591
[EMAIL PROTECTED]
nl_BE.utf8
[EMAIL PROTECTED]
[EMAIL PROTECTED]
nl_NL
nl_NL.iso88591
[EMAIL PROTECTED]
nl_NL.utf8
[EMAIL PROTECTED]
[EMAIL PROTECTED]


In my PHP code I have the following two lines:

if( !setlocale(LC_TIME, 'nl_NL') ) {
    die("Failed setting locale");
}


Now when I load this script a few times, sometimes I get the message "Failed 
setting locale", but not every time.

Why does this happen or what can I do to overcome this? 

-- 
PHP Unicode & I18N Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to