Top "Setlocale" questions

The setlocale() is a function that is used to configure and specify certain locale information.

setlocale(LC_ALL, 'en_GB.UTF8') not working on windows

Why does setlocale(LC_ALL, 'en_GB.UTF8'); return false on Windows Server 2003 R2 - Zend CE PHP 5.3.5 ? Function …

php windows utf-8 setlocale
Sort an array with special characters in PHP

I have an array that holds the names of languages in spanish: $lang["ko"] = "coreano"; //korean $lang["ar"] = "árabe"; //arabic $…

php setlocale asort
Is it feasible to rely on setlocale, and rely on locales being installed?

I was trying to generate a localized date string with strftime, the placeholder I use is %x. The language/locale …

php localization internationalization setlocale zend-locale
Smarty "capitalize" modifier... always capitalizes "L"? ... and "P"?

Quite simply: I'm using Smarty and the |capitalize modifier. It works fine, but when I pass any word with l …

smarty modifier setlocale capitalize
setlocale() returns false

I have installed the dutch local (nl_NL utf8) on my webserver (when I execute locale -a I see nl_…

php linux setlocale
PHP: date "F" with setlocale not working

<ul> <?php $event_date = get_sub_field('event_date'); // 20150203 $event_date_format = DateTime::createFromFormat('Ymd', $event_date); …

php date setlocale